Enum rustc_span::hygiene::MacroKind [−][src]
pub enum MacroKind {
Bang,
Attr,
Derive,
}Expand description
The kind of macro invocation or definition.
Variants
A bang macro foo!().
An attribute macro #[foo].
A derive macro #[derive(Foo)]
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MacroKindimpl UnwindSafe for MacroKindBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte