Function combine::parser::combinator::map

source ·
pub fn map<P, F, B>(p: P, f: F) -> Map<P, F>where
    P: Parser,
    F: FnMut(P::Output) -> B,
Expand description

Equivalent to p.map(f).