pub struct InspectParser { /* private fields */ }Implementations§
Source§impl InspectParser
impl InspectParser
pub fn new( parser: ParserHandle, f: impl FnMut(&ParserOutput) + Send + Sync + 'static, ) -> Self
Trait Implementations§
Source§impl Parser for InspectParser
impl Parser for InspectParser
fn parse<'a>( &self, registry: &ParserRegistry, input: &'a str, ) -> ParseResult<'a>
fn extend(&self, parser: ParserHandle)
Auto Trait Implementations§
impl Freeze for InspectParser
impl !RefUnwindSafe for InspectParser
impl Send for InspectParser
impl Sync for InspectParser
impl Unpin for InspectParser
impl UnsafeUnpin for InspectParser
impl !UnwindSafe for InspectParser
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