Struct syntax::ast::Mac_[][src]

pub struct Mac_ {
    pub path: Path,
    pub delim: MacDelimiter,
    pub tts: ThinTokenStream,
}

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

Methods

impl Mac_
[src]

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]

impl Decodable for Mac_
[src]

impl Hash for Mac_
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Mac_
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for Mac_

impl !Sync for Mac_