Type Alias stable_vec::InlineStableVec

source ·
pub type InlineStableVec<T> = StableVecFacade<T, OptionCore<T>>;
Expand description

A stable vector which stores the “deleted information” inline. This is very close to Vec<Option<T>>.

This is particularly useful if T benefits from “null optimization”, i.e. if size_of::<T>() == size_of::<Option<T>>().

Aliased Type§

struct InlineStableVec<T> { /* private fields */ }