Enum rustc_ap_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 MacroKind
impl UnwindSafe for MacroKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V