Get the latest value added to the ring buffer
(&self)
| 80 | |
| 81 | /// Get the latest value added to the ring buffer |
| 82 | pub fn head(&self) -> Option<&T> { |
| 83 | self.buffer.back() |
| 84 | } |
| 85 | |
| 86 | /// Get the oldest value in the ring buffer |
| 87 | pub fn tail(&self) -> Option<&T> { |
no outgoing calls
no test coverage detected