Expand description
Vector utilities.
Structs§
- Drain
Filter Swapping - An iterator which uses a closure to determine if an element should be removed.
Traits§
- Partial
OrdVec Ext - Extension methods for
Vec<T>
whereT: PartialOrd
- VecExt
- Extension methods for
std::vec::Vec
- Vector
- A trait for objects that behave like vectors.
Functions§
- repurpose_
allocation - Create a new vector that re-uses the same allocation as an old one. The element types must have the same size and alignment.
- swap_
remove_ multiple - Remove the elements from
v
at the positions indicated byindexes
, and return the removed elements in a new vector.