VisitWith

Trait VisitWith 

Source
pub trait VisitWith {
    // Required method
    fn visit_with<V: Visitor>(&self, visitor: &mut V);
}
Expand description

Extension trait for visiting documents

Required Methods§

Source

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.

Implementors§