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.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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