Method lrs::ringbuf::DynRingBuf::capacity

Returns the capacity of the ring buffer.

Syntax

impl<T, H> DynRingBuf<T, H>
    where H: Allocator,
{
    fn capacity(&self) -> usize
}