Trait html2md::TagHandler

source ·
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§

Handle tag encountered when walking HTML tree. This is executed before the children processing

Executed after all children of this tag have been processed

Provided Methods§

Implementors§