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
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
Auto Trait Implementations§
impl Freeze for HtmlCherryPickHandler
impl RefUnwindSafe for HtmlCherryPickHandler
impl Send for HtmlCherryPickHandler
impl Sync for HtmlCherryPickHandler
impl Unpin for HtmlCherryPickHandler
impl UnwindSafe for HtmlCherryPickHandler
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