[][src]Struct rustc_middle::ty::ParamEnvAnd

pub struct ParamEnvAnd<'tcx, T> {
    pub param_env: ParamEnv<'tcx>,
    pub value: T,
}

Fields

param_env: ParamEnv<'tcx>value: T

Implementations

impl<'tcx, T> ParamEnvAnd<'tcx, T>[src]

pub fn into_parts(self) -> (ParamEnv<'tcx>, T)[src]

Trait Implementations

impl<'tcx, T: Clone> Clone for ParamEnvAnd<'tcx, T>[src]

impl<'tcx, T: Copy> Copy for ParamEnvAnd<'tcx, T>[src]

impl<'tcx, T: Debug> Debug for ParamEnvAnd<'tcx, T>[src]

impl<'tcx, T: Eq> Eq for ParamEnvAnd<'tcx, T>[src]

impl<'tcx, T: Hash> Hash for ParamEnvAnd<'tcx, T>[src]

impl<'a, 'tcx, T> HashStable<StableHashingContext<'a>> for ParamEnvAnd<'tcx, T> where
    T: HashStable<StableHashingContext<'a>>, 
[src]

impl<'tcx, T: Key> Key for ParamEnvAnd<'tcx, T>[src]

type CacheSelector = DefaultCacheSelector

impl<'a, 'tcx, T: Lift<'tcx>> Lift<'tcx> for ParamEnvAnd<'a, T>[src]

type Lifted = ParamEnvAnd<'tcx, T::Lifted>

impl<'tcx, T: PartialEq> PartialEq<ParamEnvAnd<'tcx, T>> for ParamEnvAnd<'tcx, T>[src]

impl<'tcx, T> StructuralEq for ParamEnvAnd<'tcx, T>[src]

impl<'tcx, T> StructuralPartialEq for ParamEnvAnd<'tcx, T>[src]

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

Auto Trait Implementations

impl<'tcx, T> !RefUnwindSafe for ParamEnvAnd<'tcx, T>

impl<'tcx, T> !Send for ParamEnvAnd<'tcx, T>

impl<'tcx, T> !Sync for ParamEnvAnd<'tcx, T>

impl<'tcx, T> Unpin for ParamEnvAnd<'tcx, T> where
    T: Unpin

impl<'tcx, T> !UnwindSafe for ParamEnvAnd<'tcx, T>

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<Ctxt, T> DepNodeParams<Ctxt> for T where
    Ctxt: DepContext,
    T: HashStable<<Ctxt as DepContext>::StableHashingContext> + Debug
[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, 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]