pub struct Canonical<'tcx, V> {
pub max_universe: UniverseIndex,
pub variables: &List<CanonicalVarInfo>,
pub value: V,
}Expand description
A “canonicalized” type V is one where all free inference
variables have been rewritten to “canonical vars”. These are
numbered starting from 0 in order of first appearance.
Fields
max_universe: UniverseIndexvariables: &List<CanonicalVarInfo>value: VAuto Trait Implementations
impl<'tcx, V> !RefUnwindSafe for Canonical<V>
impl<'tcx, V> !UnwindSafe for Canonical<V>
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.