pub trait Visitor {
// Required method
fn visit(&mut self, arena: &ExprArena, id: ExprId, node: &ExprNode);
}Expand description
Pre-order visitor over an arena. Backends implement this to translate the expression tree into solver-specific representations without copying.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".