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§
source§impl Default for HtmlCherryPickHandler
impl Default for HtmlCherryPickHandler
source§fn default() -> HtmlCherryPickHandler
fn default() -> HtmlCherryPickHandler
Returns the “default value” for a type. Read more
source§impl TagHandler for HtmlCherryPickHandler
impl TagHandler for HtmlCherryPickHandler
source§fn 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
source§fn 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