Enum syntax_pos::hygiene::ExpnFormat[][src]

pub enum ExpnFormat {
    MacroAttribute(Symbol),
    MacroBang(Symbol),
    CompilerDesugaring(CompilerDesugaringKind),
}

The source of expansion.

Variants

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

e.g. format!()

Desugaring done by the compiler during HIR lowering.

Methods

impl ExpnFormat
[src]

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 given [Hasher]. Read more

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

impl Debug for ExpnFormat
[src]

Formats the value using the given formatter. Read more

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]

impl Encodable for ExpnFormat
[src]

impl Decodable for ExpnFormat
[src]

Auto Trait Implementations

impl !Send for ExpnFormat

impl !Sync for ExpnFormat