Module orx_split_vec::prelude
source · Expand description
The split-vec prelude, along with the SplitVec, imports
various growth startegies, iterators and finally the orx_pinned_vec::PinnedVec trait.
Structs§
- Stategy which allows creates a fragment with double the capacity of the prior fragment every time the split vector needs to expand.
- A contagious fragment of the split vector.
- Iterator over the
SplitVec. - Stategy which allows the split vector to grow linearly.
- Equivalent to
Doublingstrategy except for the following: - A split vector; i.e., a vector of fragments, with the following features:
Enums§
- Returns the result of trying to get a slice as a contagious memory from the split vector.
Traits§
- Growth strategy of a split vector.
- Converts self into a collection of
Fragments. - Trait for vector representations differing from
std::vec::Vecby the following: