Struct syn::Mac [−][src]
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.
NB: the additional ident for a macro_rules-style macro is actually
stored in the enclosing item. Oog.
Fields
path: Path
tts: Vec<TokenTree>
Trait Implementations
impl ToTokens for Mac[src]
impl ToTokens for Macimpl Debug for Mac[src]
impl Debug for Macfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Mac[src]
impl Clone for Macfn clone(&self) -> Mac[src]
fn clone(&self) -> MacReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Eq for Mac[src]
impl Eq for Macimpl PartialEq for Mac[src]
impl PartialEq for Macfn eq(&self, other: &Mac) -> bool[src]
fn eq(&self, other: &Mac) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Mac) -> bool[src]
fn ne(&self, other: &Mac) -> boolThis method tests for !=.
impl Hash for Mac[src]
impl Hash for Mac