Function combine::stream::uncons_while
source · [−]pub fn uncons_while<Input, F>(
input: &mut Input,
predicate: F
) -> ParseResult<Input::Range, Input::Error> where
F: FnMut(Input::Token) -> bool,
Input: ?Sized + RangeStream,
Input::Range: Range, Expand description
Removes items from the input while predicate returns true.