Module collections

Source
Expand description

Collection types for varying memory access patterns. Backing memory provided by allocators in the allocators module.

Structs§

FixedVec
A fixed-capacity contiguous growable array type.
Queue
Bounded FIFO queue of T.
RingAllocationMetadata
Metadata related to a specific allocation from a RingBuffer.
RingBox
Owned pointer into a RingBuffer. RingBuffer::free_box instead of drop!
RingBuffer
Ring buffer for allocating varying length byte slices in a sequential, FIFO fashion.
RingSlice
Owned slice of a RingBuffer. RingBuffer::free instead of drop!
SparseArray
Sparse array of T.

Functions§

channel
Creates a single-producer single-consumer channel.