[][src]Enum ra_ap_hir_def::VariantId

pub enum VariantId {
    EnumVariantId(EnumVariantId),
    StructId(StructId),
    UnionId(UnionId),
}

Variants

EnumVariantId(EnumVariantId)
StructId(StructId)
UnionId(UnionId)

Trait Implementations

impl ChildBySource for VariantId[src]

impl Clone for VariantId[src]

impl Copy for VariantId[src]

impl Debug for VariantId[src]

impl Eq for VariantId[src]

impl From<EnumVariantId> for VariantId[src]

impl From<StructId> for VariantId[src]

impl From<UnionId> for VariantId[src]

impl HasChildSource for VariantId[src]

type ChildId = LocalFieldId

type Value = Either<TupleField, RecordField>

impl HasResolver for VariantId[src]

impl Hash for VariantId[src]

impl PartialEq<VariantId> for VariantId[src]

impl StructuralEq for VariantId[src]

impl StructuralPartialEq for VariantId[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.