iterate from the tail to the head (oldest to newest) Use `rev` on the iterator if you want to search the other way
(&self)
| 92 | /// |
| 93 | /// Use `rev` on the iterator if you want to search the other way |
| 94 | pub fn iter(&self) -> impl DoubleEndedIterator<Item = &T> { |
| 95 | self.buffer.iter() |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | impl<T: TscRtt> RingBuffer<T> { |
no outgoing calls