swc_html_visit

Trait VisitMutWith

source
pub trait VisitMutWith<V: ?Sized + VisitMut> {
    // Required methods
    fn visit_mut_with(&mut self, visitor: &mut V);
    fn visit_mut_children_with(&mut self, visitor: &mut V);
}
Expand description

A trait implemented for types that can be visited using a visitor.

Required Methods§

source

fn visit_mut_with(&mut self, visitor: &mut V)

Calls a visitor method (visitor.fold_xxx) with self.

source

fn visit_mut_children_with(&mut self, visitor: &mut V)

Visit children nodes of self`` with visitor`.

Implementations on Foreign Types§

source§

impl<V, T> VisitMutWith<V> for Box<T>
where V: ?Sized + VisitMut, T: VisitMutWith<V>,

source§

fn visit_mut_with(&mut self, visitor: &mut V)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Option<Atom>

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_opt_atom with self. (Extra impl)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Option<DocumentFragment>

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_opt_document_fragment with self. (Extra impl)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Option<Namespace>

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_opt_namespace with self. (Extra impl)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Option<Raw>

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_opt_raw with self. (Extra impl)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Vec<Attribute>

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_attributes with self. (Extra impl)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Vec<AttributeToken>

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_attribute_tokens with self. (Extra impl)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Vec<Child>

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_childs with self. (Extra impl)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Atom

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_atom with self. (Extra impl)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Attribute

source§

fn visit_mut_with(&mut self, visitor: &mut V)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for AttributeToken

source§

fn visit_mut_with(&mut self, visitor: &mut V)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Child

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_child with self.

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Comment

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_comment with self.

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Document

source§

fn visit_mut_with(&mut self, visitor: &mut V)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for DocumentFragment

source§

fn visit_mut_with(&mut self, visitor: &mut V)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for DocumentMode

source§

fn visit_mut_with(&mut self, visitor: &mut V)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for DocumentType

source§

fn visit_mut_with(&mut self, visitor: &mut V)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Element

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_element with self.

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Namespace

source§

fn visit_mut_with(&mut self, visitor: &mut V)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Raw

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_raw with self.

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Span

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_span with self. (Extra impl)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Text

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_text with self.

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for Token

source§

fn visit_mut_with(&mut self, visitor: &mut V)

Calls VisitMut::visit_mut_token with self.

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

source§

impl<V: ?Sized + VisitMut> VisitMutWith<V> for TokenAndSpan

source§

fn visit_mut_with(&mut self, visitor: &mut V)

source§

fn visit_mut_children_with(&mut self, visitor: &mut V)

Implementors§