pub fn new<S>(storage: S) -> RingBuffer<'a, T>
        where S: Into<ManagedSlice<'a, T>>,
    {
        RingBuffer {
            storage: storage.into(),
            read_at: 0,
            length:  0,
        }
    }
/// Create a ring buffer with the given storage.
///
/// During creation, every element in `storage` is reset.
Create a ring buffer with the given storage.
During creation, every element in `storage` is reset.
Create a ring buffer with the given storage . During creation every element in ` storage ` is reset .
pub fn new<S>(storage: S) -> RingBuffer<'a, T>
        where S: Into<ManagedSlice<'a, T>>,
    {
        RingBuffer {
            storage: storage.into(),
            read_at: 0,
            length:  0,
        }
    }
pub fn new < S > ( storage : S ) -> RingBuffer < ' a , T > where S : Into < ManagedSlice < ' a , T > > , { RingBuffer { storage : storage . into ( ) , read_at : 0 , length : 0 , } }
Create a ring buffer with the given storage.
Create a ring buffer with the given storage .
storage
S
storage
S