Struct syntax::ast::MacroDef[][src]

pub struct MacroDef {
    pub tokens: ThinTokenStream,
    pub legacy: bool,
}

Fields

Methods

impl MacroDef
[src]

Trait Implementations

impl Clone for MacroDef
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for MacroDef
[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 MacroDef
[src]

impl Encodable for MacroDef
[src]

impl Decodable for MacroDef
[src]

impl Hash for MacroDef
[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 MacroDef
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for MacroDef

impl !Sync for MacroDef