Function itertools::peeking_take_while::peeking_take_while

source ·
pub fn peeking_take_while<I, F>(
    iter: &mut I,
    f: F,
) -> PeekingTakeWhile<'_, I, F> 
where I: Iterator,
Expand description

Create a PeekingTakeWhile