pub trait Peekable: Iterator { // Required method fn peek(&self) -> Option<Self::Item>; }
Returns the next() value without advancing the iterator.
next()