pub trait GetByKey<Key, Value> {
    fn get(k: &Key) -> Value;
}
Expand description

A trait for querying a value by a key.

Required Methods§

Return the value.

Implementors§