Crate dasp_ring_buffer

Source
Expand description

Items related to the implementation of ring buffers.

The primary items of interest in this module include:

  • The Slice and SliceMut traits - implemented for types that may be used as the underlying buffer in Fixed and Bounded ring buffers.
  • The Fixed ring buffer type.
  • The Bounded ring buffer type.

Structs§

  • A ring buffer with an upper bound on its length.
  • An iterator that drains the ring buffer by popping each element one at a time.
  • A ring buffer with a fixed length.

Traits§

  • Types that may be used as a constant-length buffer underlying a Bounded ring buffer.
  • Types that may be used as a data slice for Fixed and Bounded ring buffers.
  • Types that may be used as a data slice for mutable Fixed and Bounded ring buffers.