[][src]Function combine::stream::uncons_while

pub fn uncons_while<I: ?Sized, F>(
    input: &mut I,
    predicate: F
) -> ConsumedResult<I::Range, I> where
    F: FnMut(I::Item) -> bool,
    I: RangeStream,
    I::Range: Range

Removes items from the input while predicate returns true.