Skip to main content

ThinVec

Type Alias ThinVec 

Source
type ThinVec<T> = Option<Box<Vec<T>>>;

Aliased Type§

enum ThinVec<T> {
    None,
    Some(Box<Vec<T>>),
}

Variants§

§

None

No value.

§

Some(Box<Vec<T>>)

Some value of type T.

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.