Struct rustc_expand::mbe::macro_rules::ParserAnyMacro [−][src]
pub(crate) struct ParserAnyMacro<'a> {
parser: Parser<'a>,
site_span: Span,
macro_ident: Ident,
lint_node_id: NodeId,
is_trailing_mac: bool,
arm_span: Span,
is_local: bool,
}
Fields
parser: Parser<'a>
site_span: Span
Span of the expansion site of the macro this parser is for
macro_ident: Ident
The ident of the macro we’re parsing
lint_node_id: NodeId
is_trailing_mac: bool
arm_span: Span
is_local: bool
Whether or not this macro is defined in the current crate
Implementations
Trait Implementations
Creates zero or more statements. Read more
Creates zero or more items.
Creates zero or more trait items.
Creates zero or more impl items.
Creates zero or more items in an extern {}
block
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ParserAnyMacro<'a>
impl<'a> !Send for ParserAnyMacro<'a>
impl<'a> !Sync for ParserAnyMacro<'a>
impl<'a> Unpin for ParserAnyMacro<'a>
impl<'a> !UnwindSafe for ParserAnyMacro<'a>
Blanket Implementations
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: 368 bytes