Enum syntax::codemap::MacroFormatExperimental [-]  [+] [src]

pub enum MacroFormat {
    MacroAttribute,
    MacroBang,
}

The syntax with which a macro was invoked.

Variants

MacroAttribute

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

MacroBang

e.g. format!()

Trait Implementations

Derived Implementations

impl Show for MacroFormat

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

impl<__S: Writer> Hash<__S> for MacroFormat

fn hash(&self, __arg_0: &mut __S)

impl Copy for MacroFormat

impl Clone for MacroFormat

fn clone(&self) -> MacroFormat

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