Enum ra_ap_hir_def::VariantId [−][src]
pub enum VariantId {
EnumVariantId(EnumVariantId),
StructId(StructId),
UnionId(UnionId),
}
Variants
EnumVariantId(EnumVariantId)
Tuple Fields of EnumVariantId
StructId(StructId)
Tuple Fields of StructId
0: StructId
UnionId(UnionId)
Tuple Fields of UnionId
0: UnionId
Implementations
Trait Implementations
Performs the conversion.
type Value = Either<TupleField, RecordField>
Builds a resolver for type references inside this def.
Auto Trait Implementations
impl RefUnwindSafe for VariantId
impl UnwindSafe for VariantId
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