Enum ra_ap_hir_expand::MacroDefKind [−][src]
pub enum MacroDefKind {
Declarative(AstId<Macro>),
BuiltIn(BuiltinFnLikeExpander, AstId<Macro>),
BuiltInAttr(BuiltinAttrExpander, AstId<Macro>),
BuiltInDerive(BuiltinDeriveExpander, AstId<Macro>),
BuiltInEager(EagerExpander, AstId<Macro>),
ProcMacro(ProcMacroExpander, ProcMacroKind, AstId<Fn>),
}
Variants
BuiltIn(BuiltinFnLikeExpander, AstId<Macro>)
Tuple Fields of BuiltIn
0: BuiltinFnLikeExpander
1: AstId<Macro>
BuiltInAttr(BuiltinAttrExpander, AstId<Macro>)
Tuple Fields of BuiltInAttr
0: BuiltinAttrExpander
1: AstId<Macro>
BuiltInDerive(BuiltinDeriveExpander, AstId<Macro>)
Tuple Fields of BuiltInDerive
0: BuiltinDeriveExpander
1: AstId<Macro>
BuiltInEager(EagerExpander, AstId<Macro>)
Tuple Fields of BuiltInEager
0: EagerExpander
1: AstId<Macro>
ProcMacro(ProcMacroExpander, ProcMacroKind, AstId<Fn>)
Tuple Fields of ProcMacro
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MacroDefKind
impl Send for MacroDefKind
impl Sync for MacroDefKind
impl Unpin for MacroDefKind
impl UnwindSafe for MacroDefKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more