pub trait Leaves {
// Required method
fn visit(&self, v: &mut Visit<'_>);
}Expand description
Anything whose array leaves can be visited in a fixed order with their paths: owned
trees and borrowed views (&T, (&A, &B), [T]). Object-safe.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".