Module prelude

Source
Expand description

Common relevant traits, structs, enums.

Structs§

Doubling
Strategy which allows creates a fragment with double the capacity of the prior fragment every time the split vector needs to expand.
Fragment
A contiguous fragment of the split vector.
Iter
Iterator over the SplitVec.
Linear
Strategy which allows the split vector to grow linearly.
Recursive
Equivalent to Doubling strategy except for the following:
SplitVec
A split vector consisting of a vector of fragments.

Enums§

PinnedVecGrowthError
Error occurred during an attempt to increase capacity of the pinned vector.
SplitVecSlice
Returns the result of trying to get a slice as a contiguous memory from the split vector.

Traits§

ConcurrentPinnedVec
A wrapper for a pinned vector which provides additional guarantees for concurrent programs.
Growth
Growth strategy of a split vector.
GrowthWithConstantTimeAccess
Growth strategy of a split vector which allows for constant time access to the elements.
IntoConcurrentPinnedVec
A pinned vector which can be wrapped into a concurrent pinned vector.
IntoFragments
Converts self into a collection of Fragments.
PinnedVec
Trait for vector representations differing from std::vec::Vec by the following:
PseudoDefault
PseudoDefault trait allows to create a cheap default instance of a type, which does not claim to be useful.