DocumentParserExt

Trait DocumentParserExt 

Source
pub trait DocumentParserExt<'doc>: DocumentParser<'doc> + Sized {
    // Provided method
    fn map<O, F>(self, mapper: F) -> MappedParser<Self, F>
       where F: Fn(Self::Output) -> Result<O, ParseError>,
             O: 'doc { ... }
}

Provided Methods§

Source

fn map<O, F>(self, mapper: F) -> MappedParser<Self, F>
where F: Fn(Self::Output) -> Result<O, ParseError>, O: 'doc,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§