pub trait Keyed<K> {
    fn key(&self) -> &K;
}
Expand description

Trait for getting the key from a Leaf value

Required Methods

Return a reference to the key of the leaf type

Implementors