rustc_trait_selection::traits::query

Type Alias CanonicalTyGoal

source
pub type CanonicalTyGoal<'tcx> = Canonical<TyCtxt<'tcx>, ParamEnvAnd<'tcx, Ty<'tcx>>>;

Aliased Type§

struct CanonicalTyGoal<'tcx> {
    pub value: ParamEnvAnd<'tcx, Ty<'tcx>>,
    pub max_universe: UniverseIndex,
    pub defining_opaque_types: &'tcx RawList<(), LocalDefId>,
    pub variables: &'tcx RawList<(), CanonicalVarInfo<TyCtxt<'tcx>>>,
}

Fields§

§value: ParamEnvAnd<'tcx, Ty<'tcx>>§max_universe: UniverseIndex§defining_opaque_types: &'tcx RawList<(), LocalDefId>§variables: &'tcx RawList<(), CanonicalVarInfo<TyCtxt<'tcx>>>

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 40 bytes