pub trait Walk: Sized {
// Required methods
fn leaf() -> Self;
fn internal(children: &[Self], lookup: &KeyLookup) -> Self;
}
Expand description
Capability to be created from a walk through all representative nodes in a
TreeKey
using traverse_all()
.
This is a bottom-up, breadth-first walk.
Required Methods§
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.