Struct rustc_expand::mbe::macro_rules::MacroRulesMacroExpander
source · struct MacroRulesMacroExpander {
node_id: NodeId,
name: Ident,
span: Span,
transparency: Transparency,
lhses: Vec<Vec<MatcherLoc>>,
rhses: Vec<TokenTree>,
valid: bool,
}
Fields
node_id: NodeId
name: Ident
span: Span
transparency: Transparency
lhses: Vec<Vec<MatcherLoc>>
rhses: Vec<TokenTree>
valid: bool
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MacroRulesMacroExpander
impl !Send for MacroRulesMacroExpander
impl !Sync for MacroRulesMacroExpander
impl Unpin for MacroRulesMacroExpander
impl !UnwindSafe for MacroRulesMacroExpander
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 80 bytes