pub trait FoldWith<V: ?Sized>: Sized + Visitable {
fn fold_children_with(self, visitor: &mut V) -> Self;
fn fold_with(self, visitor: &mut V) -> Self
where
V: Fold<Self>,
{ ... }
}
Required Methods
source
fn fold_children_with(self, visitor: &mut V) -> Self
Provided Methods
Implementations on Foreign Types
sourceimpl<T, V> FoldWith<V> for Box<T>where
T: Visitable,
V: ?Sized + Fold<T>,
impl<T, V> FoldWith<V> for Box<T>where
T: Visitable,
V: ?Sized + Fold<T>,
fn fold_children_with(self, v: &mut V) -> Self
sourceimpl<T, V> FoldWith<V> for RefCell<T>where
T: Visitable,
V: ?Sized + Fold<T>,
impl<T, V> FoldWith<V> for RefCell<T>where
T: Visitable,
V: ?Sized + Fold<T>,
fn fold_children_with(self, v: &mut V) -> Self
sourceimpl<V> FoldWith<V> for Spanwhere
V: ?Sized,
impl<V> FoldWith<V> for Spanwhere
V: ?Sized,
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<T, V> FoldWith<V> for Vec<T>where
T: Visitable,
V: ?Sized + Fold<T>,
impl<T, V> FoldWith<V> for Vec<T>where
T: Visitable,
V: ?Sized + Fold<T>,
fn fold_children_with(self, visitor: &mut V) -> Self
sourceimpl<T, V> FoldWith<V> for Arc<T>where
T: Visitable,
V: ?Sized + Fold<T>,
impl<T, V> FoldWith<V> for Arc<T>where
T: Visitable,
V: ?Sized + Fold<T>,
Noop.
fn fold_children_with(self, _: &mut V) -> Self
sourceimpl<T, V> FoldWith<V> for Option<T>where
T: Visitable,
V: ?Sized + Fold<T>,
impl<T, V> FoldWith<V> for Option<T>where
T: Visitable,
V: ?Sized + Fold<T>,
fn fold_children_with(self, visitor: &mut V) -> Self
sourceimpl<V: ?Sized> FoldWith<V> for String
impl<V: ?Sized> FoldWith<V> for String
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<V: ?Sized> FoldWith<V> for SyntaxContext
impl<V: ?Sized> FoldWith<V> for SyntaxContext
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<V: ?Sized> FoldWith<V> for JsWord
impl<V: ?Sized> FoldWith<V> for JsWord
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<V: ?Sized> FoldWith<V> for BigInt
impl<V: ?Sized> FoldWith<V> for BigInt
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<V: ?Sized> FoldWith<V> for TruePlusMinus
impl<V: ?Sized> FoldWith<V> for TruePlusMinus
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<V: ?Sized> FoldWith<V> for TsTypeOperatorOp
impl<V: ?Sized> FoldWith<V> for TsTypeOperatorOp
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<V: ?Sized> FoldWith<V> for TsKeywordTypeKind
impl<V: ?Sized> FoldWith<V> for TsKeywordTypeKind
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<V: ?Sized> FoldWith<V> for BinaryOp
impl<V: ?Sized> FoldWith<V> for BinaryOp
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<V: ?Sized> FoldWith<V> for UnaryOp
impl<V: ?Sized> FoldWith<V> for UnaryOp
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<V: ?Sized> FoldWith<V> for Accessibility
impl<V: ?Sized> FoldWith<V> for Accessibility
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<V: ?Sized> FoldWith<V> for AssignOp
impl<V: ?Sized> FoldWith<V> for AssignOp
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<V: ?Sized> FoldWith<V> for VarDeclKind
impl<V: ?Sized> FoldWith<V> for VarDeclKind
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<V: ?Sized> FoldWith<V> for MethodKind
impl<V: ?Sized> FoldWith<V> for MethodKind
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<V: ?Sized> FoldWith<V> for UpdateOp
impl<V: ?Sized> FoldWith<V> for UpdateOp
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop
sourceimpl<V: ?Sized> FoldWith<V> for MetaPropKind
impl<V: ?Sized> FoldWith<V> for MetaPropKind
sourcefn fold_children_with(self, _: &mut V) -> Self
fn fold_children_with(self, _: &mut V) -> Self
Noop