Struct rustc_middle::traits::query::type_op::Normalize[][src]

pub struct Normalize<T> {
    pub value: T,


value: T


impl<'tcx, T> Normalize<T> where
    T: Debug + TypeFoldable<'tcx>, 

pub fn new(value: T) -> Self[src]

Trait Implementations

impl<T: Clone> Clone for Normalize<T>[src]

impl<T: Copy> Copy for Normalize<T>[src]

impl<T: Debug> Debug for Normalize<T>[src]

impl<T: Eq> Eq for Normalize<T>[src]

impl<T: Hash> Hash for Normalize<T>[src]

impl<'__ctx, T> HashStable<StableHashingContext<'__ctx>> for Normalize<T> where
    T: HashStable<StableHashingContext<'__ctx>>, 

impl<'__lifted, T> Lift<'__lifted> for Normalize<T> where
    T: Lift<'__lifted>, 

type Lifted = Normalize<T::Lifted>

impl<T: PartialEq> PartialEq<Normalize<T>> for Normalize<T>[src]

impl<T> StructuralEq for Normalize<T>[src]

impl<T> StructuralPartialEq for Normalize<T>[src]

impl<T, 'tcx> TypeFoldable<'tcx> for Normalize<T> where
    T: TypeFoldable<'tcx>, 

Auto Trait Implementations

impl<T> RefUnwindSafe for Normalize<T> where
    T: RefUnwindSafe

impl<T> Send for Normalize<T> where
    T: Send

impl<T> Sync for Normalize<T> where
    T: Sync

impl<T> Unpin for Normalize<T> where
    T: Unpin

impl<T> UnwindSafe for Normalize<T> where
    T: UnwindSafe

Blanket Implementations

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

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 

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

type Error = !

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]