[][src]Struct rustc::ty::ResolvedOpaqueTy

pub struct ResolvedOpaqueTy<'tcx> {
    pub concrete_type: Ty<'tcx>,
    pub substs: SubstsRef<'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.

All information necessary to validate and reveal an impl Trait.

Fields

concrete_type: Ty<'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.

The revealed type as seen by this function.

substs: SubstsRef<'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.

Generic parameters on the opaque type as passed by this function. For type Foo<A, B> = impl Bar<A, B>; fn foo<T, U>() -> Foo<T, U> { .. } this is [T, U], not [A, B].

Trait Implementations

impl<'tcx> Debug for ResolvedOpaqueTy<'tcx>[src]

impl<'tcx> Decodable for ResolvedOpaqueTy<'tcx>[src]

impl<'tcx> Encodable for ResolvedOpaqueTy<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ResolvedOpaqueTy<'tcx>[src]

Auto Trait Implementations

impl<'tcx> !RefUnwindSafe for ResolvedOpaqueTy<'tcx>

impl<'tcx> !Send for ResolvedOpaqueTy<'tcx>

impl<'tcx> !Sync for ResolvedOpaqueTy<'tcx>

impl<'tcx> Unpin for ResolvedOpaqueTy<'tcx>

impl<'tcx> !UnwindSafe for ResolvedOpaqueTy<'tcx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?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<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.