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

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

The source of expansion.

Variants

MacroAttribute

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

MacroBang

e.g. format!()

Trait Implementations

Derived Implementations

impl Eq for ExpnFormat

impl PartialEq for ExpnFormat

fn eq(&self, __arg_0: &ExpnFormat) -> bool

fn ne(&self, __arg_0: &ExpnFormat) -> bool

impl Debug for ExpnFormat

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for ExpnFormat

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Clone for ExpnFormat

fn clone(&self) -> ExpnFormat

fn clone_from(&mut self, source: &Self)