pub trait VisitWith {
// Required method
fn visit_with<V: Visitor>(&self, visitor: &mut V);
}Expand description
Extension trait for visiting documents
Required Methods§
Sourcefn visit_with<V: Visitor>(&self, visitor: &mut V)
fn visit_with<V: Visitor>(&self, visitor: &mut V)
Apply a visitor to this AST node
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.