Pops a value from the tail Used to remove stale values. Returns `None` if the values are empty
(&mut self)
| 45 | /// |
| 46 | /// Used to remove stale values. Returns `None` if the values are empty |
| 47 | pub fn pop(&mut self) -> Option<T> { |
| 48 | self.buffer.pop_front() |
| 49 | } |
| 50 | |
| 51 | /// Returns the value at the given index, or `None` if the index is out of bounds |
| 52 | pub fn peek_at(&self, index: usize) -> Option<&T> { |
nothing calls this directly
no outgoing calls
no test coverage detected