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.
- 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.
- Marker trait for types to be contained in a
PinnedVec
which do not hold a field which is a reference to a another element of the same vector. - Trait for vector representations differing from
std::vec::Vec
by the following: PinnedVecSimple
is aPinnedVec
where the elements satisfy the trait boundT: NotSelfRefVecItem
.- A type to be used as an element of a
PinnedVec
which holds a reference to a another element of the same vector.