Skip to main content

StaticRb

Type Alias StaticRb 

Source
pub type StaticRb<T, const N: usize> = SharedRb<Array<T, N>>;
Expand description

Stack-allocated ring buffer with static capacity.

Capacity (N) must be in 1..=usize::MAX / 2.

Aliased Typeยง

pub struct StaticRb<T, const N: usize> { /* private fields */ }