Function itertools::multipeek[][src]

pub fn multipeek<I>(iterable: I) -> MultiPeek<I::IntoIter>
Notable traits for MultiPeek<I>
impl<I> Iterator for MultiPeek<I> where
    I: Iterator
type Item = I::Item;
where
    I: IntoIterator
Expand description

An iterator adaptor that allows the user to peek at multiple .next() values without advancing the base iterator.