Struct ra_ap_hir_expand::MacroDefId [−][src]
pub struct MacroDefId { pub krate: CrateId, pub kind: MacroDefKind, pub local_inner: bool, }
Fields
krate: CrateId
kind: MacroDefKind
local_inner: bool
Implementations
pub fn as_lazy_macro(
self,
db: &dyn AstDatabase,
krate: CrateId,
kind: MacroCallKind
) -> MacroCallId
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 MacroDefId
impl Send for MacroDefId
impl Sync for MacroDefId
impl Unpin for MacroDefId
impl UnwindSafe for MacroDefId
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.