/// Pop the buffer. If it is empty, then None is returned.
Pop the buffer. If it is empty, then None is returned.
Pop the buffer . If it is empty then None is returned .
pub fn pop(&mut self) -> Option<T> {
        if self.is_empty() {
            return None;
        }
        let elem = self.data[self.oldest];
        self.oldest = (self.oldest + 1) % SIZE;
        self.num_elems -= 1;
        Some(elem)
    }
pub fn pop ( & mut self ) -> Option < T > { if self . is_empty ( ) { return None ; } let elem = self . data [ self . oldest ] ; self . oldest = ( self . oldest + 1 ) % SIZE ; self . num_elems -= 1 ; Some ( elem ) }
Pop the buffer.
Pop the buffer .
&mut self