Trait oni_comb_parser_rs::prelude::ConversionParser

source ·
pub trait ConversionParser<'a>: OperatorParser<'a> {
    // Required method
    fn map_res<B, E, F>(self, f: F) -> Self::P<'a, Self::Input, B>
       where F: Fn(Self::Output) -> Result<B, E> + 'a,
             E: Debug,
             Self::Output: Debug + 'a,
             B: Debug + 'a;
}

Required Methods§

source

fn map_res<B, E, F>(self, f: F) -> Self::P<'a, Self::Input, B>
where F: Fn(Self::Output) -> Result<B, E> + 'a, E: Debug, Self::Output: Debug + 'a, B: Debug + 'a,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, I, A> ConversionParser<'a> for Parser<'a, I, A>