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
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
fn skip_descendants(&self) -> bool
Auto Trait Implementations§
impl Freeze for ImgHandler
impl RefUnwindSafe for ImgHandler
impl Send for ImgHandler
impl Sync for ImgHandler
impl Unpin for ImgHandler
impl UnwindSafe for ImgHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more