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

pub enum MacroFormat {
    MacroAttribute,
    MacroBang,
}

The syntax with which a macro was invoked.

Variants

MacroAttribute

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

MacroBang

e.g. format!()

Trait Implementations

Derived Implementations

impl Debug for MacroFormat

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

impl Hash for MacroFormat

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

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

impl Copy for MacroFormat

impl Clone for MacroFormat

fn clone(&self) -> MacroFormat

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