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