Enum syntex_syntax::codemap::ExpnFormat [] [src]

pub enum ExpnFormat {
    MacroAttribute(Name),
    MacroBang(Name),
    CompilerDesugaring(Name),
}

The source of expansion.

Variants

e.g. #[derive(...)]

e.g. format!()

Desugaring done by the compiler during HIR lowering.

Trait Implementations

impl Clone for ExpnFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.

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