Trait peekmore::PeekMore

source ·
pub trait PeekMore: Iterator + Sized {
    // Required method
    fn peekmore(self) -> PeekMoreIterator<Self> ;
}
Expand description

Trait which allows you to create the multi-peek iterator. It allows you to peek at any unconsumed element. Elements can be consumed using the next method defined on any Iterator.

Required Methods§

source

fn peekmore(self) -> PeekMoreIterator<Self>

Create a multi-peek iterator where we can peek forward multiple times from an existing iterator.

Implementors§

source§

impl<I: Iterator> PeekMore for I