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

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

Removes items from the input while predicate returns true.