Skip to main content

ListWithCachedTypeInfo

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§

#[repr(C)]
pub struct ListWithCachedTypeInfo<T> { skel: ListSkeleton<TypeInfo, T>, _extern_ty: ExternTy, }

Fields§

§skel: ListSkeleton<TypeInfo, T>§_extern_ty: ExternTy

Implementations§

Trait Implementations§

Source§

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

Source§

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

Source§

impl<'tcx, D: TyDecoder<'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.