pub fn map_input<Input, P, F, B>(p: P, f: F) -> MapInput<P, F>
where Input: Stream, P: Parser<Input>, F: FnMut(P::Output, &mut Input) -> B,
Expand description

Equivalent to p.map_input(f).