Enum syntax::codemap::MacroFormat[src]
pub enum MacroFormat {
MacroAttribute,
MacroBang,
}The syntax with which a macro was invoked.
Variants
MacroAttribute | e.g. #[deriving(...)] |
MacroBang | e.g. |
pub enum MacroFormat {
MacroAttribute,
MacroBang,
}The syntax with which a macro was invoked.
MacroAttribute | e.g. #[deriving(...)] |
MacroBang | e.g. |
impl Show for MacroFormatimpl<__S: Writer> Hash<__S> for MacroFormatfn hash(&self, __arg_0: &mut __S)impl Clone for MacroFormatfn clone(&self) -> MacroFormatfn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).