Keyed

Trait Keyed 

Source
pub trait Keyed: Collection {
    type Key;
}
Expand description

Abstract keyed collection.

Required Associated Types§

Source

type Key

Type of the keys indexing each item of the collection.

Implementations on Foreign Types§

Source§

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

Source§

type Key = K

Source§

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

Source§

type Key = K

Implementors§