[−][src]Enum rustc_middle::ty::sty::InferTy

pub enum InferTy {
    TyVar(TyVid),
    IntVar(IntVid),
    FloatVar(FloatVid),
    FreshTy(u32),
    FreshIntTy(u32),
    FreshFloatTy(u32),
}

Variants

TyVar(TyVid)
IntVar(IntVid)
FloatVar(FloatVid)
FreshTy(u32)

A FreshTy is one that is generated as a replacement for an unbound type variable. This is convenient for caching etc. See infer::freshen for more details.

FreshIntTy(u32)
FreshFloatTy(u32)

Trait Implementations

impl Clone for InferTy[src]

impl Copy for InferTy[src]

impl Debug for InferTy[src]

impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for InferTy[src]

impl Display for InferTy[src]

impl<'tcx, __E: TyEncoder<'tcx>> Encodable<__E> for InferTy[src]

impl Eq for InferTy[src]

impl Hash for InferTy[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for InferTy[src]

impl<'tcx> Lift<'tcx> for InferTy[src]

type Lifted = Self

impl Ord for InferTy[src]

impl PartialEq<InferTy> for InferTy[src]

impl PartialOrd<InferTy> for InferTy[src]

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for InferTy[src]

type Output = P

type Error = Error

impl StructuralEq for InferTy[src]

impl StructuralPartialEq for InferTy[src]

impl<'tcx> TypeFoldable<'tcx> for InferTy[src]

Auto Trait Implementations

impl RefUnwindSafe for InferTy

impl Send for InferTy

impl Sync for InferTy

impl Unpin for InferTy

impl UnwindSafe for InferTy

Blanket Implementations

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

impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
    T: Copy, 
[src]

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

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

impl<'a, T> Captures<'a> for T where
    T: ?Sized, 
[src]

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

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

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

type Error = !

impl<'tcx, T> Subst<'tcx> for T where
    T: TypeFoldable<'tcx>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized, 
[src]

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.

impl<T> WithConstness for T[src]