Struct html2md::dummy::HtmlCherryPickHandler
source · [−]pub struct HtmlCherryPickHandler { /* private fields */ }Expand description
Handler that copies just one tag and doesn’t skip descendants
Trait Implementations
sourceimpl Default for HtmlCherryPickHandler
impl Default for HtmlCherryPickHandler
sourcefn default() -> HtmlCherryPickHandler
fn default() -> HtmlCherryPickHandler
Returns the “default value” for a type. Read more
sourceimpl TagHandler for HtmlCherryPickHandler
impl TagHandler for HtmlCherryPickHandler
sourcefn handle(&mut self, tag: &Handle, printer: &mut StructuredPrinter)
fn handle(&mut self, tag: &Handle, printer: &mut StructuredPrinter)
Handle tag encountered when walking HTML tree. This is executed before the children processing Read more
fn skip_descendants(&self) -> bool
sourcefn after_handle(&mut self, printer: &mut StructuredPrinter)
fn after_handle(&mut self, printer: &mut StructuredPrinter)
Executed after all children of this tag have been processed
Auto Trait Implementations
impl RefUnwindSafe for HtmlCherryPickHandler
impl Send for HtmlCherryPickHandler
impl Sync for HtmlCherryPickHandler
impl Unpin for HtmlCherryPickHandler
impl UnwindSafe for HtmlCherryPickHandler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more