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
sourceimpl<V> Visit for All<V> where
V: VisitAll,
impl<V> Visit for All<V> where
V: VisitAll,
sourcefn 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])
sourcefn 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])
sourcefn 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
sourcefn 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
sourcefn 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
sourcefn 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
sourcefn 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
sourcefn 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)
sourcefn 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_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)
sourcefn 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
impl<V> Copy for All<V> where
V: Copy,
impl<V> Eq for All<V> where
V: Eq,
impl<V> StructuralEq for All<V>
impl<V> StructuralPartialEq for All<V>
Auto Trait Implementations
impl<V> RefUnwindSafe for All<V> where
V: RefUnwindSafe,
impl<V> Send for All<V> where
V: Send,
impl<V> Sync for All<V> where
V: Sync,
impl<V> Unpin for All<V> where
V: Unpin,
impl<V> UnwindSafe for All<V> where
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more