Signature
Trait functions
peek
Returns a copy of the next() value without advancing the iterator. Likenext, if there is a value, it is wrapped in a Some(T).
But if the iteration is over, None is returned.
next, if there is a value, it is wrapped in a Some(T).
But if the iteration is over, None is returned.