pub struct OutputMapParser { /* private fields */ }Implementations§
Source§impl OutputMapParser
impl OutputMapParser
pub fn new( parser: ParserHandle, f: impl FnMut(ParserOutput) -> ParserOutput + Send + Sync + 'static, ) -> Self
Trait Implementations§
Source§impl Parser for OutputMapParser
impl Parser for OutputMapParser
fn parse<'a>( &self, registry: &ParserRegistry, input: &'a str, ) -> ParseResult<'a>
fn extend(&self, parser: ParserHandle)
Auto Trait Implementations§
impl Freeze for OutputMapParser
impl !RefUnwindSafe for OutputMapParser
impl Send for OutputMapParser
impl Sync for OutputMapParser
impl Unpin for OutputMapParser
impl UnsafeUnpin for OutputMapParser
impl !UnwindSafe for OutputMapParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more