Struct syntex_syntax::ast::Mac_ [] [src]

pub struct Mac_ {
    pub path: Path,
    pub tts: 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.

NB: the additional ident for a macro_rules-style macro is actually stored in the enclosing item. Oog.

Fields

Trait Implementations

impl Clone for Mac_
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Mac_
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Mac_
[src]

impl Encodable for Mac_
[src]

Serialize a value using an Encoder.

impl Decodable for Mac_
[src]

Deserialize a value using a Decoder.

impl Hash for Mac_
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for Mac_
[src]

Formats the value using the given formatter.