Returns the value at the given index, or `None` if the index is out of bounds
(&self, index: usize)
| 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> { |
| 53 | self.buffer.get(index) |
| 54 | } |
| 55 | |
| 56 | /// Returns the number of values in the buffer |
| 57 | pub fn len(&self) -> usize { |