Function itertools::multipeek [] [src]

pub fn multipeek<I>(iterable: I) -> MultiPeek<I::IntoIter> where
    I: IntoIterator

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