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.