combine::parser::sequence

Function then_partial

Source
pub fn then_partial<P, F, N>(p: P, f: F) -> ThenPartial<P, F>
where F: FnMut(&mut P::Output) -> N, P: Parser, N: Parser<Input = P::Input>,
Expand description

Equivalent to p.then_partial(f).