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)
Tuple Fields of FunctionId
0: FunctionId
StaticId(StaticId)
Tuple Fields of StaticId
0: StaticId
ConstId(ConstId)
Tuple Fields of ConstId
0: 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.
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