[][src]Struct rustc::traits::query::type_op::normalize::Normalize

pub struct Normalize<T> {
    pub value: T,
}
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Fields

value: T
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Methods

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

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

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

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>>, 
[src]

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

type Lifted = Normalize<T::Lifted>

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

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

impl<'tcx, T> QueryTypeOp<'tcx> for Normalize<T> where
    T: Normalizable<'tcx> + 'tcx, 
[src]

type QueryResponse = T

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

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

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

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

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
[src]

impl<T> ArenaAllocatable 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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T[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 = !

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<E> SpecializationError for E[src]

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, 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.