Struct ra_ap_hir_def::item_tree::MacroRules [−][src]
pub struct MacroRules { pub name: Name, pub ast_id: FileAstId<MacroRules>, }
Fields
name: Name
The name of the declared macro.
ast_id: FileAstId<MacroRules>
Trait Implementations
type Source = MacroRules
Looks up an instance of Self
in an item tree.
Downcasts a ModItem
to a FileItemTreeId
specific to this type.
Upcasts a FileItemTreeId
to a generic ModItem
.
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 MacroRules
impl Send for MacroRules
impl Sync for MacroRules
impl Unpin for MacroRules
impl UnwindSafe for MacroRules
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.