pub trait FoldWith<V>: Visitablewhere
V: ?Sized,{
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<V> FoldWith<V> for MetaPropKindwhere
V: ?Sized,
impl<V> FoldWith<V> for MetaPropKindwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> MetaPropKind
fn fold_children_with(self, &mut V) -> MetaPropKind
Noop
sourceimpl<V> FoldWith<V> for &strwhere
V: ?Sized,
impl<V> FoldWith<V> for &strwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> &str
fn fold_children_with(self, &mut V) -> &str
Noop
sourceimpl<V> FoldWith<V> for MethodKindwhere
V: ?Sized,
impl<V> FoldWith<V> for MethodKindwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> MethodKind
fn fold_children_with(self, &mut V) -> MethodKind
Noop
sourceimpl<V> FoldWith<V> for Spanwhere
V: ?Sized,
impl<V> FoldWith<V> for Spanwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> Span
fn fold_children_with(self, &mut V) -> Span
Noop
sourceimpl<V> FoldWith<V> for TsTypeOperatorOpwhere
V: ?Sized,
impl<V> FoldWith<V> for TsTypeOperatorOpwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> TsTypeOperatorOp
fn fold_children_with(self, &mut V) -> TsTypeOperatorOp
Noop
sourceimpl<V> FoldWith<V> for UpdateOpwhere
V: ?Sized,
impl<V> FoldWith<V> for UpdateOpwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> UpdateOp
fn fold_children_with(self, &mut V) -> UpdateOp
Noop
sourceimpl<V> FoldWith<V> for i16where
V: ?Sized,
impl<V> FoldWith<V> for i16where
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> i16
fn fold_children_with(self, &mut V) -> i16
Noop
sourceimpl<V> FoldWith<V> for Stringwhere
V: ?Sized,
impl<V> FoldWith<V> for Stringwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> String
fn fold_children_with(self, &mut V) -> String
Noop
sourceimpl<T, V> FoldWith<V> for Option<T>where
T: Visitable,
V: Fold<T> + ?Sized,
impl<T, V> FoldWith<V> for Option<T>where
T: Visitable,
V: Fold<T> + ?Sized,
fn fold_children_with(self, visitor: &mut V) -> Option<T>
sourceimpl<V> FoldWith<V> for SyntaxContextwhere
V: ?Sized,
impl<V> FoldWith<V> for SyntaxContextwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> SyntaxContext
fn fold_children_with(self, &mut V) -> SyntaxContext
Noop
sourceimpl<V> FoldWith<V> for VarDeclKindwhere
V: ?Sized,
impl<V> FoldWith<V> for VarDeclKindwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> VarDeclKind
fn fold_children_with(self, &mut V) -> VarDeclKind
Noop
sourceimpl<V> FoldWith<V> for Atomwhere
V: ?Sized,
impl<V> FoldWith<V> for Atomwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> Atom
fn fold_children_with(self, &mut V) -> Atom
Noop
sourceimpl<V> FoldWith<V> for i128where
V: ?Sized,
impl<V> FoldWith<V> for i128where
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> i128
fn fold_children_with(self, &mut V) -> i128
Noop
sourceimpl<T, V> FoldWith<V> for RefCell<T>where
T: Visitable,
V: Fold<T> + ?Sized,
impl<T, V> FoldWith<V> for RefCell<T>where
T: Visitable,
V: Fold<T> + ?Sized,
fn fold_children_with(self, v: &mut V) -> RefCell<T>
sourceimpl<V> FoldWith<V> for f32where
V: ?Sized,
impl<V> FoldWith<V> for f32where
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> f32
fn fold_children_with(self, &mut V) -> f32
Noop
sourceimpl<V> FoldWith<V> for AssignOpwhere
V: ?Sized,
impl<V> FoldWith<V> for AssignOpwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> AssignOp
fn fold_children_with(self, &mut V) -> AssignOp
Noop
sourceimpl<V> FoldWith<V> for u16where
V: ?Sized,
impl<V> FoldWith<V> for u16where
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> u16
fn fold_children_with(self, &mut V) -> u16
Noop
sourceimpl<V> FoldWith<V> for f64where
V: ?Sized,
impl<V> FoldWith<V> for f64where
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> f64
fn fold_children_with(self, &mut V) -> f64
Noop
sourceimpl<V> FoldWith<V> for usizewhere
V: ?Sized,
impl<V> FoldWith<V> for usizewhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> usize
fn fold_children_with(self, &mut V) -> usize
Noop
sourceimpl<V> FoldWith<V> for TruePlusMinuswhere
V: ?Sized,
impl<V> FoldWith<V> for TruePlusMinuswhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> TruePlusMinus
fn fold_children_with(self, &mut V) -> TruePlusMinus
Noop
sourceimpl<V> FoldWith<V> for BinaryOpwhere
V: ?Sized,
impl<V> FoldWith<V> for BinaryOpwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> BinaryOp
fn fold_children_with(self, &mut V) -> BinaryOp
Noop
sourceimpl<V> FoldWith<V> for isizewhere
V: ?Sized,
impl<V> FoldWith<V> for isizewhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> isize
fn fold_children_with(self, &mut V) -> isize
Noop
sourceimpl<T, V> FoldWith<V> for Arc<T>where
T: Visitable,
V: Fold<T> + ?Sized,
impl<T, V> FoldWith<V> for Arc<T>where
T: Visitable,
V: Fold<T> + ?Sized,
Noop.
fn fold_children_with(self, &mut V) -> Arc<T>
sourceimpl<V> FoldWith<V> for BigIntwhere
V: ?Sized,
impl<V> FoldWith<V> for BigIntwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> BigInt
fn fold_children_with(self, &mut V) -> BigInt
Noop
sourceimpl<V> FoldWith<V> for boolwhere
V: ?Sized,
impl<V> FoldWith<V> for boolwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> bool
fn fold_children_with(self, &mut V) -> bool
Noop
sourceimpl<V> FoldWith<V> for u64where
V: ?Sized,
impl<V> FoldWith<V> for u64where
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> u64
fn fold_children_with(self, &mut V) -> u64
Noop
sourceimpl<V> FoldWith<V> for charwhere
V: ?Sized,
impl<V> FoldWith<V> for charwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> char
fn fold_children_with(self, &mut V) -> char
Noop
sourceimpl<V> FoldWith<V> for i64where
V: ?Sized,
impl<V> FoldWith<V> for i64where
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> i64
fn fold_children_with(self, &mut V) -> i64
Noop
sourceimpl<V> FoldWith<V> for TsKeywordTypeKindwhere
V: ?Sized,
impl<V> FoldWith<V> for TsKeywordTypeKindwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> TsKeywordTypeKind
fn fold_children_with(self, &mut V) -> TsKeywordTypeKind
Noop
sourceimpl<V> FoldWith<V> for Accessibilitywhere
V: ?Sized,
impl<V> FoldWith<V> for Accessibilitywhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> Accessibility
fn fold_children_with(self, &mut V) -> Accessibility
Noop
sourceimpl<V> FoldWith<V> for u32where
V: ?Sized,
impl<V> FoldWith<V> for u32where
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> u32
fn fold_children_with(self, &mut V) -> u32
Noop
sourceimpl<T, V> FoldWith<V> for Box<T, Global>where
T: Visitable,
V: Fold<T> + ?Sized,
impl<T, V> FoldWith<V> for Box<T, Global>where
T: Visitable,
V: Fold<T> + ?Sized,
fn fold_children_with(self, v: &mut V) -> Box<T, Global>
sourceimpl<V> FoldWith<V> for u128where
V: ?Sized,
impl<V> FoldWith<V> for u128where
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> u128
fn fold_children_with(self, &mut V) -> u128
Noop
sourceimpl<V> FoldWith<V> for Atom<JsWordStaticSet>where
V: ?Sized,
impl<V> FoldWith<V> for Atom<JsWordStaticSet>where
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> Atom<JsWordStaticSet>
fn fold_children_with(self, &mut V) -> Atom<JsWordStaticSet>
Noop
sourceimpl<V> FoldWith<V> for i32where
V: ?Sized,
impl<V> FoldWith<V> for i32where
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> i32
fn fold_children_with(self, &mut V) -> i32
Noop
sourceimpl<V> FoldWith<V> for UnaryOpwhere
V: ?Sized,
impl<V> FoldWith<V> for UnaryOpwhere
V: ?Sized,
sourcefn fold_children_with(self, &mut V) -> UnaryOp
fn fold_children_with(self, &mut V) -> UnaryOp
Noop