Struct html2md::images::ImgHandler
source · pub struct ImgHandler { /* private fields */ }
Expand description
Handler for <img>
tag. Depending on circumstances can produce both
inline HTML-formatted image and Markdown native one
Trait Implementations§
source§impl Default for ImgHandler
impl Default for ImgHandler
source§fn default() -> ImgHandler
fn default() -> ImgHandler
Returns the “default value” for a type. Read more
source§impl TagHandler for ImgHandler
impl TagHandler for ImgHandler
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
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