Module collections
Expand description
Collections such as NonEmptyVec and NonEmptySmallVec provided by rama,
mostly for internal usage, but available for others to use as well.
Modules§
- smallvec
- Small vectors in various sizes. These store a certain number of elements inline, and fall back to the heap for larger allocations. This can be a useful optimization for improving cache locality and reducing allocator traffic for workloads that fit within the inline buffer.
Structs§
- NonEmpty
Small Vec - A Non-empty stack vector which can grow to the heap.
- NonEmpty
Small VecEmpty Error - empty value cannot be turned into a NonEmptySmallVec
- NonEmpty
Small VecIter - Iterator for
NonEmptySmallVec. - NonEmpty
Vec - A Non-empty growable vector.
- NonEmpty
VecEmpty Error - empty value cannot be turned into a NonEmptyVec
- NonEmpty
VecIter - Iterator for
NonEmptyVec.