pub trait Fold {
Show 17 methods fn fold_attribute(&mut self, n: Attribute) -> Attribute { ... } fn fold_attributes(&mut self, n: Vec<Attribute>) -> Vec<Attribute>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
    A: Allocator,
{ ... } fn fold_child(&mut self, n: Child) -> Child { ... } fn fold_children(&mut self, n: Vec<Child>) -> Vec<Child>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
    A: Allocator,
{ ... } fn fold_comment(&mut self, n: Comment) -> Comment { ... } fn fold_document(&mut self, n: Document) -> Document { ... } fn fold_document_fragment(&mut self, n: DocumentFragment) -> DocumentFragment { ... } fn fold_document_mode(&mut self, n: DocumentMode) -> DocumentMode { ... } fn fold_document_type(&mut self, n: DocumentType) -> DocumentType { ... } fn fold_element(&mut self, n: Element) -> Element { ... } fn fold_js_word(&mut self, n: JsWord) -> JsWord { ... } fn fold_namespace(&mut self, n: Namespace) -> Namespace { ... } fn fold_opt_document_fragment(
        &mut self,
        n: Option<DocumentFragment>
    ) -> Option<DocumentFragment> { ... } fn fold_opt_js_word(&mut self, n: Option<JsWord>) -> Option<JsWord> { ... } fn fold_opt_namespace(&mut self, n: Option<Namespace>) -> Option<Namespace> { ... } fn fold_span(&mut self, n: Span) -> Span { ... } fn fold_text(&mut self, n: Text) -> Text { ... }
}

Provided Methods

This method can be overriden to customize the visitor behavior.

This calls FoldWith::fold_children_with on n by default. The default method visit children nodes with self.

This method can be overriden to customize the visitor behavior.

This calls FoldWith::fold_children_with on n by default. The default method visit children nodes with self.

This method can be overriden to customize the visitor behavior.

This calls FoldWith::fold_children_with on n by default. The default method visit children nodes with self.

This method can be overriden to customize the visitor behavior.

This calls FoldWith::fold_children_with on n by default. The default method visit children nodes with self.

This method can be overriden to customize the visitor behavior.

This calls FoldWith::fold_children_with on n by default. The default method visit children nodes with self.

This method can be overriden to customize the visitor behavior.

This calls FoldWith::fold_children_with on n by default. The default method visit children nodes with self.

This method can be overriden to customize the visitor behavior.

This calls FoldWith::fold_children_with on n by default. The default method visit children nodes with self.

This method can be overriden to customize the visitor behavior.

This calls FoldWith::fold_children_with on n by default. The default method visit children nodes with self.

This method can be overriden to customize the visitor behavior.

This calls FoldWith::fold_children_with on n by default. The default method visit children nodes with self.

This method can be overriden to customize the visitor behavior.

This calls FoldWith::fold_children_with on n by default. The default method visit children nodes with self.

Implementations on Foreign Types

Implementors