pub trait VisitWith<V: ?Sized>: Visitable {
fn visit_children_with(&self, visitor: &mut V);
fn visit_with(&self, visitor: &mut V)
where
V: Visit<Self>,
{ ... }
}
Required Methods
source
fn visit_children_with(&self, visitor: &mut V)
Provided Methods
sourcefn visit_with(&self, visitor: &mut V)where
fn visit_with(&self, visitor: &mut V)where
V: Visit<Self>,
Implementations on Foreign Types
sourceimpl<T, V> VisitWith<V> for Box<T>where
T: ?Sized + Visitable,
V: ?Sized + Visit<T>,
impl<T, V> VisitWith<V> for Box<T>where
T: ?Sized + Visitable,
V: ?Sized + Visit<T>,
fn visit_children_with(&self, v: &mut V)
sourceimpl<T, V> VisitWith<V> for [T]where
T: Visitable,
V: ?Sized + Visit<T>,
impl<T, V> VisitWith<V> for [T]where
T: Visitable,
V: ?Sized + Visit<T>,
fn visit_children_with(&self, visitor: &mut V)
sourceimpl<T, V> VisitWith<V> for RefCell<T>where
T: Visitable,
V: ?Sized + Visit<T>,
impl<T, V> VisitWith<V> for RefCell<T>where
T: Visitable,
V: ?Sized + Visit<T>,
fn visit_children_with(&self, v: &mut V)
sourceimpl<V> VisitWith<V> for Spanwhere
V: ?Sized,
impl<V> VisitWith<V> for Spanwhere
V: ?Sized,
sourcefn visit_children_with(&self, _: &mut V)
fn visit_children_with(&self, _: &mut V)
Noop
sourceimpl<T, V> VisitWith<V> for Rc<T>where
T: Visitable,
V: ?Sized + Visit<T>,
impl<T, V> VisitWith<V> for Rc<T>where
T: Visitable,
V: ?Sized + Visit<T>,
fn visit_children_with(&self, visitor: &mut V)
sourceimpl<T, V> VisitWith<V> for Arc<T>where
T: Visitable,
V: ?Sized + Visit<T>,
impl<T, V> VisitWith<V> for Arc<T>where
T: Visitable,
V: ?Sized + Visit<T>,
fn visit_children_with(&self, visitor: &mut V)
sourceimpl<T, V> VisitWith<V> for Vec<T>where
T: Visitable,
V: ?Sized + Visit<T>,
impl<T, V> VisitWith<V> for Vec<T>where
T: Visitable,
V: ?Sized + Visit<T>,
fn visit_children_with(&self, visitor: &mut V)
sourceimpl<T, V> VisitWith<V> for Option<T>where
T: Visitable,
V: ?Sized + Visit<T>,
impl<T, V> VisitWith<V> for Option<T>where
T: Visitable,
V: ?Sized + Visit<T>,
fn visit_children_with(&self, visitor: &mut V)
sourceimpl<T, V> VisitWith<V> for &Twhere
T: Visitable,
V: ?Sized + Visit<T>,
impl<T, V> VisitWith<V> for &Twhere
T: Visitable,
V: ?Sized + Visit<T>,
fn visit_children_with(&self, visitor: &mut V)
sourceimpl<V: ?Sized> VisitWith<V> for SyntaxContext
impl<V: ?Sized> VisitWith<V> for SyntaxContext
sourcefn visit_children_with(&self, _: &mut V)
fn visit_children_with(&self, _: &mut V)
Noop
sourceimpl<V: ?Sized> VisitWith<V> for TruePlusMinus
impl<V: ?Sized> VisitWith<V> for TruePlusMinus
sourcefn visit_children_with(&self, _: &mut V)
fn visit_children_with(&self, _: &mut V)
Noop
sourceimpl<V: ?Sized> VisitWith<V> for TsTypeOperatorOp
impl<V: ?Sized> VisitWith<V> for TsTypeOperatorOp
sourcefn visit_children_with(&self, _: &mut V)
fn visit_children_with(&self, _: &mut V)
Noop
sourceimpl<V: ?Sized> VisitWith<V> for TsKeywordTypeKind
impl<V: ?Sized> VisitWith<V> for TsKeywordTypeKind
sourcefn visit_children_with(&self, _: &mut V)
fn visit_children_with(&self, _: &mut V)
Noop
sourceimpl<V: ?Sized> VisitWith<V> for Accessibility
impl<V: ?Sized> VisitWith<V> for Accessibility
sourcefn visit_children_with(&self, _: &mut V)
fn visit_children_with(&self, _: &mut V)
Noop
sourceimpl<V: ?Sized> VisitWith<V> for VarDeclKind
impl<V: ?Sized> VisitWith<V> for VarDeclKind
sourcefn visit_children_with(&self, _: &mut V)
fn visit_children_with(&self, _: &mut V)
Noop
sourceimpl<V: ?Sized> VisitWith<V> for MethodKind
impl<V: ?Sized> VisitWith<V> for MethodKind
sourcefn visit_children_with(&self, _: &mut V)
fn visit_children_with(&self, _: &mut V)
Noop
sourceimpl<V: ?Sized> VisitWith<V> for MetaPropKind
impl<V: ?Sized> VisitWith<V> for MetaPropKind
sourcefn visit_children_with(&self, _: &mut V)
fn visit_children_with(&self, _: &mut V)
Noop