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§
sourcefn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls a visitor method (visitor.fold_xxx) with self.
sourcefn visit_mut_children_with(&mut self, visitor: &mut V)
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>
impl<V, T> VisitMutWith<V> for Box<T>
fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Option<Atom>
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Option<Atom>
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_atom
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Option<Namespace>
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Option<Namespace>
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_namespace
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Vec<Attribute>
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Vec<Attribute>
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_attributes
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Vec<AttributeToken>
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Vec<AttributeToken>
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_attribute_tokens
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Vec<Child>
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Vec<Child>
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_childs
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Atom
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Atom
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_atom
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Attribute
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Attribute
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_attribute
with self
.
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for AttributeToken
impl<V: ?Sized + VisitMut> VisitMutWith<V> for AttributeToken
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_attribute_token
with self
.
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for CdataSection
impl<V: ?Sized + VisitMut> VisitMutWith<V> for CdataSection
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_cdata_section
with self
.
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Child
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Child
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_child
with self
.
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Comment
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Comment
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_comment
with self
.
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Document
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Document
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_document
with self
.
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for DocumentMode
impl<V: ?Sized + VisitMut> VisitMutWith<V> for DocumentMode
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_document_mode
with self
.
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for DocumentType
impl<V: ?Sized + VisitMut> VisitMutWith<V> for DocumentType
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_document_type
with self
.
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Element
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Element
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_element
with self
.
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Namespace
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Namespace
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_namespace
with self
.
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for ProcessingInstruction
impl<V: ?Sized + VisitMut> VisitMutWith<V> for ProcessingInstruction
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_processing_instruction
with self
.
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Span
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Span
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_span
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Text
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Text
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_text
with self
.
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for Token
impl<V: ?Sized + VisitMut> VisitMutWith<V> for Token
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_token
with self
.
fn visit_mut_children_with(&mut self, visitor: &mut V)
source§impl<V: ?Sized + VisitMut> VisitMutWith<V> for TokenAndSpan
impl<V: ?Sized + VisitMut> VisitMutWith<V> for TokenAndSpan
source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_token_and_span
with self
.