Function tract_hir::internal::tract_itertools::multipeek[][src]

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

Notable traits for MultiPeek<I>

impl<I> Iterator for MultiPeek<I> where
    I: Iterator
type Item = <I as Iterator>::Item;
where
    I: IntoIterator

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