Enum ra_ap_hir_expand::MacroCallKind [−][src]
pub enum MacroCallKind {
FnLike {
ast_id: AstId<MacroCall>,
expand_to: ExpandTo,
},
Derive {
ast_id: AstId<Item>,
derive_name: Box<str>,
derive_attr_index: u32,
},
Attr {
ast_id: AstId<Item>,
attr_name: Box<str>,
attr_args: (Subtree, TokenMap),
invoc_attr_index: u32,
},
}
Variants
Fields of Derive
Fields of Attr
Implementations
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 MacroCallKind
impl Send for MacroCallKind
impl Sync for MacroCallKind
impl Unpin for MacroCallKind
impl UnwindSafe for MacroCallKind
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