Type Alias rustc_middle::ty::typeck_results::CanonicalUserTypeAnnotations
source · pub type CanonicalUserTypeAnnotations<'tcx> = IndexVec<UserTypeAnnotationIndex, CanonicalUserTypeAnnotation<'tcx>>;
Expand description
Mapping of type annotation indices to canonical user type annotations.
Aliased Type§
struct CanonicalUserTypeAnnotations<'tcx> {
pub raw: Vec<CanonicalUserTypeAnnotation<'tcx>, Global>,
_marker: PhantomData<fn(_: &UserTypeAnnotationIndex)>,
}
Fields§
§raw: Vec<CanonicalUserTypeAnnotation<'tcx>, Global>
§_marker: PhantomData<fn(_: &UserTypeAnnotationIndex)>
Trait Implementations§
source§impl<I: Idx + 'static, T: ParameterizedOverTcx> ParameterizedOverTcx for IndexVec<I, T>
impl<I: Idx + 'static, T: ParameterizedOverTcx> ParameterizedOverTcx for IndexVec<I, T>
type Value<'tcx> = IndexVec<I, <T as ParameterizedOverTcx>::Value<'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: 24 bytes