Struct futures_await_syn::Mac [] [src]

pub struct Mac {
    pub path: Path,
    pub bang_token: Bang,
    pub ident: Option<Ident>,
    pub tokens: Vec<TokenTree>,
}

Represents a macro invocation. The Path indicates which macro is being invoked, and the vector of token-trees contains the source of the macro invocation.

Fields

The example in macro_rules! example { ... }.

Methods

impl Mac
[src]

[src]

Trait Implementations

impl Synom for Mac
[src]

[src]

impl ToTokens for Mac
[src]

[src]

Write self to the given Tokens. Read more

[src]

Convert self directly into a Tokens object. Read more

impl Clone for Mac
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more