Function combine::stream::uncons_while
source · pub fn uncons_while<I, F>(
input: &mut I,
predicate: F
) -> ConsumedResult<I::Range, I>where
F: FnMut(I::Item) -> bool,
I: ?Sized + RangeStream,
I::Range: Range,
Expand description
Removes items from the input while predicate
returns true
.