ThinSlice

Type Alias ThinSlice 

Source
pub type ThinSlice<T> = RawThinSlice<(), T>;
Expand description

A thin-pointer slice of T.

This is similar to [T], but the length is stored in the slice itself, rather than in a separate field, making it a single word in size, instead of two.

Aliased Type§

pub struct ThinSlice<T> { /* private fields */ }

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.