Trait html2md::TagHandler [−][src]
pub trait TagHandler { fn handle(&mut self, tag: &Handle, printer: &mut StructuredPrinter); fn after_handle(&mut self, printer: &mut StructuredPrinter); fn skip_descendants(&self) -> bool { ... } }
Expand description
Trait interface describing abstract handler of arbitrary HTML tag.
Required methods
fn handle(&mut self, tag: &Handle, printer: &mut StructuredPrinter)
[src]
Expand description
Handle tag encountered when walking HTML tree. This is executed before the children processing
fn after_handle(&mut self, printer: &mut StructuredPrinter)
[src]
Expand description
Executed after all children of this tag have been processed