Skip to main content

NodeVisitor

Trait NodeVisitor 

Source
pub trait NodeVisitor {
    // Required method
    fn visit(&mut self, node: &PlanNodeEnum) -> bool;
}
Expand description

NodeVisitor trait

Used for traversing the planning tree

Required Methods§

Source

fn visit(&mut self, node: &PlanNodeEnum) -> bool

Access node Return true to continue the iteration; return false to stop the iteration.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§