[−][src]Function combinedfun::output
pub fn output<I, O, E, F>(
f: F
) -> Parser<impl ParserImpl<I, Output = O, Error = E>, I> where
F: Fn() -> Result<O, E>,
Outputs the output of the given function, or fails if the function returns Err
.
pub fn output<I, O, E, F>(
f: F
) -> Parser<impl ParserImpl<I, Output = O, Error = E>, I> where
F: Fn() -> Result<O, E>,
Outputs the output of the given function, or fails if the function returns Err
.