Expand description
Contiguous vector that lives on the stack and spills to the heap.
Provides SmallVec — stores up to N elements in a [MaybeUninit<T>; N] stack
array and transparently migrates to a std::vec::Vec when full. Because it Derefs
to [T], all standard slice methods are available without conversion.
AnyVec is a slice-view trait implemented by SmallVec, Vec, slices ([T]), and
arrays ([T; N]) to enable generic comparison and extension helpers.
Structs§
- Small
Vec - A structure representing
SmallVec. - Small
VecInto Iter - A structure representing
SmallVecIntoIter.
Traits§
- AnyVec
- A trait generalizing any vector-like contiguous collection.
Unions§
- VecData
- A constant parameter.