Function combine::parser::combinator::and_then [−][src]
pub fn and_then<Input, P, F, O, E>(p: P, f: F) -> AndThen<P, F> where
P: Parser<Input>,
F: FnMut(P::Output) -> Result<O, E>,
Input: Stream,
E: Into<<Input::Error as ParseError<Input::Token, Input::Range, Input::Position>>::StreamError>,
Expand description
Equivalent to p.and_then(f)
.