pub fn all(&self) -> impl DoubleEndedIterator<Item = &T> {
        let write_index = self.write_index;
        self.buffer[write_index..]
            .iter()
            .chain(self.buffer[..write_index].iter())
    }
/// Get the entire in chronological order, starting with the oldest element.
Get the entire in chronological order, starting with the oldest element.
Get the entire in chronological order starting with the oldest element .
pub fn all(&self) -> impl DoubleEndedIterator<Item = &T> {
        let write_index = self.write_index;
        self.buffer[write_index..]
            .iter()
            .chain(self.buffer[..write_index].iter())
    }
pub fn all ( & self ) -> impl DoubleEndedIterator < Item = & T > { let write_index = self . write_index ; self . buffer [ write_index .. ] . iter ( ) . chain ( self . buffer [ .. write_index ] . iter ( ) ) }
Get the entire in chronological order, starting with the oldest element.
Get the entire in chronological order starting with the oldest element .
&self
&self