Skip to main content

IntoVisitor

Trait IntoVisitor 

Source
pub trait IntoVisitor<Marker> { }
Expand description

Conversion into the visitor argument accepted by structural_visit.

Accepts a mutable StructuralVisitor or a first-match callback chain. Use VisitCallbacks when the chain needs mutable state.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<V: StructuralVisitor> IntoVisitor<V> for &mut V

Implementors§