pub trait Walk: Sized {
type Error;
// Required methods
fn leaf() -> Self;
fn internal(
children: &[&Self],
lookup: &KeyLookup,
) -> Result<Self, Self::Error>;
}
Expand description
Capability to be walked through a TreeKey
using traverse_all()
.
Required Associated Types§
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.