[][src]Struct chalk_ir::InferenceVar

pub struct InferenceVar { /* fields omitted */ }

Implementations

impl InferenceVar[src]

pub fn index(self) -> u32[src]

pub fn to_ty<I: Interner>(self, interner: &I, kind: TyKind) -> Ty<I>[src]

pub fn to_lifetime<I: Interner>(self, interner: &I) -> Lifetime<I>[src]

pub fn to_const<I: Interner>(self, interner: &I, ty: Ty<I>) -> Const<I>[src]

Trait Implementations

impl Clone for InferenceVar[src]

impl Copy for InferenceVar[src]

impl Debug for InferenceVar[src]

impl Eq for InferenceVar[src]

impl From<u32> for InferenceVar[src]

impl Hash for InferenceVar[src]

impl Ord for InferenceVar[src]

impl PartialEq<InferenceVar> for InferenceVar[src]

impl PartialOrd<InferenceVar> for InferenceVar[src]

impl StructuralEq for InferenceVar[src]

impl StructuralPartialEq for InferenceVar[src]

Auto Trait Implementations

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.