[][src]Enum chalk_ir::ConstValue

pub enum ConstValue<I: Interner> {
    BoundVar(BoundVar),
    InferenceVar(InferenceVar),
    Placeholder(PlaceholderIndex),
    Concrete(ConcreteConst<I>),
}

Variants

BoundVar(BoundVar)
InferenceVar(InferenceVar)
Placeholder(PlaceholderIndex)
Concrete(ConcreteConst<I>)

Trait Implementations

impl<I: Clone + Interner> Clone for ConstValue<I>[src]

impl<I: Eq + Interner> Eq for ConstValue<I>[src]

impl<I: Interner> HasInterner for ConstValue<I>[src]

type Interner = I

impl<I: Hash + Interner> Hash for ConstValue<I>[src]

impl<I: PartialEq + Interner> PartialEq<ConstValue<I>> for ConstValue<I>[src]

impl<I: Interner> StructuralEq for ConstValue<I>[src]

impl<I: Interner> StructuralPartialEq for ConstValue<I>[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for ConstValue<I> where
    <I as Interner>::InternedConcreteConst: RefUnwindSafe

impl<I> Send for ConstValue<I> where
    <I as Interner>::InternedConcreteConst: Send

impl<I> Sync for ConstValue<I> where
    <I as Interner>::InternedConcreteConst: Sync

impl<I> Unpin for ConstValue<I> where
    <I as Interner>::InternedConcreteConst: Unpin

impl<I> UnwindSafe for ConstValue<I> where
    <I as Interner>::InternedConcreteConst: UnwindSafe

Blanket Implementations

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

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

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

impl<T> Cast for T[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.