Module buffer

Source
Expand description

Buffer types

Structs§

ArrayBuf
An array-backed Ring Buffer
FixedHeapBuf
A Ring Buffer which stores all items on the heap.
GrowingHeapBuf
A Ring Buffer which stores all items on the heap but grows dynamically.

Traits§

RealArray
A marker trait which may only be implemented for native array types, like [T; 2]. The library incorporates several components that are parameterized by array types, but currently Rust provides no safe mechanism to express that.
RingBuf
A Ring Buffer of items