Enum ra_ap_hir_def::DefWithBodyId [−][src]
pub enum DefWithBodyId { FunctionId(FunctionId), StaticId(StaticId), ConstId(ConstId), }
Expand description
The defs which have a body.
Variants
FunctionId(FunctionId)
StaticId(StaticId)
ConstId(ConstId)
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Builds a resolver for type references inside this def.
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 DefWithBodyId
impl Send for DefWithBodyId
impl Sync for DefWithBodyId
impl Unpin for DefWithBodyId
impl UnwindSafe for DefWithBodyId
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.