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: SpanSpan of the expansion site of the macro this parser is for
macro_ident: IdentThe ident of the macro we’re parsing
lint_node_id: NodeIdis_trailing_mac: boolarm_span: Spanis_local: boolWhether 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
impl<'a> !Send for ParserAnyMacro
impl<'a> !Sync for ParserAnyMacro
impl<'a> Unpin for ParserAnyMacro
impl<'a> !UnwindSafe for ParserAnyMacro
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
