pub const fn new() -> Self {
        RingBuffer {
            _marker: PhantomData,
            buffer: UntaggedOption::none(),
            head: AtomicUsize::new(0),
            tail: AtomicUsize::new(0),
        }
    }
/// Creates an empty ring buffer with capacity equals to the length of the array `A` *minus
/// one*.
Creates an empty ring buffer with capacity equals to the length of the array `A` *minus
one*.
Creates an empty ring buffer with capacity equals to the length of the array ` A ` * minus one * .
pub const fn new() -> Self {
        RingBuffer {
            _marker: PhantomData,
            buffer: UntaggedOption::none(),
            head: AtomicUsize::new(0),
            tail: AtomicUsize::new(0),
        }
    }
pub const fn new ( ) -> Self { RingBuffer { _marker : PhantomData , buffer : UntaggedOption :: none ( ) , head : AtomicUsize :: new ( 0 ) , tail : AtomicUsize :: new ( 0 ) , } }
Creates an empty ring buffer with capacity equals to the length of the array `A` *minus
one*.
Creates an empty ring buffer with capacity equals to the length of the array ` A ` * minus one * .