[][src]Trait peekmore::PeekMore

pub trait PeekMore: Iterator + Sized {
    pub fn peekmore(self) -> PeekMoreIterator<Self>

Notable traits for PeekMoreIterator<I>

impl<'a, I: Iterator> Iterator for PeekMoreIterator<I> type Item = I::Item;
; }

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

pub fn peekmore(self) -> PeekMoreIterator<Self>

Notable traits for PeekMoreIterator<I>

impl<'a, I: Iterator> Iterator for PeekMoreIterator<I> type Item = I::Item;
[src]

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

Loading content...

Implementors

impl<I: Iterator> PeekMore for I[src]

Loading content...