Keyed

Trait Keyed 

Source
pub trait Keyed {
    type Key;

    // Required method
    fn key(&self) -> &Self::Key;
}
Expand description

Type identifier by a key.

This is implemented by Item and internal::Branch.

Required Associated Types§

Required Methods§

Source

fn key(&self) -> &Self::Key

Implementors§

Source§

impl<K, V> Keyed for Branch<K, V>

Source§

type Key = K

Source§

impl<K, V> Keyed for Item<K, V>

Source§

type Key = K