[][src]Struct rustc::traits::InEnvironment

pub struct InEnvironment<'tcx, G> {
    pub environment: Environment<'tcx>,
    pub goal: G,
}
⚙️ 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.

Something (usually a goal), along with an environment.

Fields

environment: Environment<'tcx>
⚙️ 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.

goal: G
⚙️ 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<'tcx, G: Clone> Clone for InEnvironment<'tcx, G>[src]

impl<'tcx, G: Copy> Copy for InEnvironment<'tcx, G>[src]

impl<'tcx, G: Debug> Debug for InEnvironment<'tcx, G>[src]

impl<'tcx, G: Eq> Eq for InEnvironment<'tcx, G>[src]

impl<'tcx, G: Hash> Hash for InEnvironment<'tcx, G>[src]

impl<'tcx, '__ctx, G> HashStable<StableHashingContext<'__ctx>> for InEnvironment<'tcx, G> where
    G: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'a, 'tcx, G: Lift<'tcx>> Lift<'tcx> for InEnvironment<'a, G>[src]

type Lifted = InEnvironment<'tcx, G::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<'tcx, G: PartialEq> PartialEq<InEnvironment<'tcx, G>> for InEnvironment<'tcx, G>[src]

impl<'tcx, G> Relate<'tcx> for InEnvironment<'tcx, G> where
    G: Relate<'tcx>, 
[src]

impl<'tcx, G> StructuralEq for InEnvironment<'tcx, G>[src]

impl<'tcx, G> StructuralPartialEq for InEnvironment<'tcx, G>[src]

impl<'tcx, G> TypeFoldable<'tcx> for InEnvironment<'tcx, G> where
    G: TypeFoldable<'tcx>, 
[src]

Auto Trait Implementations

impl<'tcx, G> !RefUnwindSafe for InEnvironment<'tcx, G>

impl<'tcx, G> !Send for InEnvironment<'tcx, G>

impl<'tcx, G> !Sync for InEnvironment<'tcx, G>

impl<'tcx, G> Unpin for InEnvironment<'tcx, G> where
    G: Unpin

impl<'tcx, G> !UnwindSafe for InEnvironment<'tcx, G>

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.