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 an expression.
Creates a pattern.
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§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.

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: 376 bytes