Struct swc_html_visit::All
source · pub struct All<V> {
pub visitor: V,
}
Expand description
Visit all children nodes. This converts VisitAll
to Visit
. The type
parameter V
should implement VisitAll
and All<V>
implements Visit
.
Fields§
§visitor: V
Trait Implementations§
source§impl<V> PartialEq<All<V>> for All<V>where
V: PartialEq<V>,
impl<V> PartialEq<All<V>> for All<V>where V: PartialEq<V>,
source§impl<V> Visit for All<V>where
V: VisitAll,
impl<V> Visit for All<V>where V: VisitAll,
fn visit_atom(&mut self, n: &Atom)
source§fn visit_attribute(&mut self, n: &Attribute)
fn visit_attribute(&mut self, n: &Attribute)
This method can be overriden to customize the visitor behavior. Read more
fn visit_attributes(&mut self, n: &[Attribute])
source§fn visit_child(&mut self, n: &Child)
fn visit_child(&mut self, n: &Child)
This method can be overriden to customize the visitor behavior. Read more
fn visit_children(&mut self, n: &[Child])
source§fn visit_comment(&mut self, n: &Comment)
fn visit_comment(&mut self, n: &Comment)
This method can be overriden to customize the visitor behavior. Read more
source§fn visit_document(&mut self, n: &Document)
fn visit_document(&mut self, n: &Document)
This method can be overriden to customize the visitor behavior. Read more
source§fn visit_document_fragment(&mut self, n: &DocumentFragment)
fn visit_document_fragment(&mut self, n: &DocumentFragment)
This method can be overriden to customize the visitor behavior. Read more
source§fn visit_document_mode(&mut self, n: &DocumentMode)
fn visit_document_mode(&mut self, n: &DocumentMode)
This method can be overriden to customize the visitor behavior. Read more
source§fn visit_document_type(&mut self, n: &DocumentType)
fn visit_document_type(&mut self, n: &DocumentType)
This method can be overriden to customize the visitor behavior. Read more
source§fn visit_element(&mut self, n: &Element)
fn visit_element(&mut self, n: &Element)
This method can be overriden to customize the visitor behavior. Read more
fn visit_js_word(&mut self, n: &JsWord)
source§fn visit_namespace(&mut self, n: &Namespace)
fn visit_namespace(&mut self, n: &Namespace)
This method can be overriden to customize the visitor behavior. Read more
fn visit_opt_atom(&mut self, n: Option<&Atom>)
fn visit_opt_document_fragment(&mut self, n: Option<&DocumentFragment>)
fn visit_opt_js_word(&mut self, n: Option<&JsWord>)
fn visit_opt_namespace(&mut self, n: Option<&Namespace>)
fn visit_span(&mut self, n: &Span)
source§fn visit_text(&mut self, n: &Text)
fn visit_text(&mut self, n: &Text)
This method can be overriden to customize the visitor behavior. Read more