rustc_middle::ty

Type Alias ListWithCachedTypeInfo

Source
pub type ListWithCachedTypeInfo<T> = RawList<TypeInfo, T>;
Expand description

A List that additionally stores type information inline to speed up TypeVisitableExt operations.

Aliased Type§

struct ListWithCachedTypeInfo<T> {
    skel: ListSkeleton<TypeInfo, T>,
    opaque: OpaqueListContents,
}

Fields§

§skel: ListSkeleton<TypeInfo, T>§opaque: OpaqueListContents

Implementations§

Trait Implementations§

Source§

impl<'tcx, D: TyDecoder<I = TyCtxt<'tcx>>> Decodable<D> for &'tcx ListWithCachedTypeInfo<Clause<'tcx>>

Source§

fn decode(decoder: &mut D) -> Self

Source§

impl<T> EraseType for &ListWithCachedTypeInfo<T>

Source§

type Result = [u8; 8]

Source§

impl<'tcx, D: TyDecoder<I = TyCtxt<'tcx>>> RefDecodable<'tcx, D> for ListWithCachedTypeInfo<Clause<'tcx>>

Source§

fn decode(decoder: &mut D) -> &'tcx Self

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.