Function combine::primitives::uncons_while
[−]
[src]
pub fn uncons_while<I, F>(input: 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
.