Function indexed_ring_buffer

Source
pub fn indexed_ring_buffer<T>(
    initial_index: usize,
    capacity: usize,
) -> (Producer<T>, Consumer<T>, Reader<T>)
where T: Sized + Default + Clone + Copy,
Expand description

Create a new Indexed ring buffer sets.