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
path: Path
bang_token: Bang
ident: Option<Ident>
The example
in macro_rules! example { ... }
.
tokens: Vec<TokenTree>
Methods
impl Mac
[src]
Trait Implementations
impl Synom for Mac
[src]
impl ToTokens for Mac
[src]
fn to_tokens(&self, tokens: &mut Tokens)
[src]
Write self
to the given Tokens
. Read more
fn into_tokens(self) -> Tokens
[src]
Convert self
directly into a Tokens
object. Read more