pub trait WavlTreeKeyable<K: ?Sized> {
type Key<'a>: Borrow<K>
where Self: 'a;
// Required method
fn get_key(&self) -> Self::Key<'_>;
}Expand description
Trait that types must implement to expose a key for WavlTree sorting and lookup.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".