pub struct DefaultParserCallbacks;Expand description
Parser callbacks that do nothing.
Used when no custom callbacks are provided.
Trait Implementations§
Source§impl<'input> ParserCallbacks<'input> for DefaultParserCallbacks
impl<'input> ParserCallbacks<'input> for DefaultParserCallbacks
Source§fn handle_broken_link(
&mut self,
link: BrokenLink<'input>,
) -> Option<(CowStr<'input>, CowStr<'input>)>
fn handle_broken_link( &mut self, link: BrokenLink<'input>, ) -> Option<(CowStr<'input>, CowStr<'input>)>
Potentially provide a custom definition for a broken link. Read more
Auto Trait Implementations§
impl Freeze for DefaultParserCallbacks
impl RefUnwindSafe for DefaultParserCallbacks
impl Send for DefaultParserCallbacks
impl Sync for DefaultParserCallbacks
impl Unpin for DefaultParserCallbacks
impl UnsafeUnpin for DefaultParserCallbacks
impl UnwindSafe for DefaultParserCallbacks
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