OrdMapValue

Trait OrdMapValue 

Source
pub trait OrdMapValue<K>
where K: Eq + Hash + Clone,
{ // Required method fn key(&self) -> Option<K>; }
Expand description

Trait a value in an OrdMap must implement.

§Types

K: key type

Required Methods§

Source

fn key(&self) -> Option<K>

return some unique key of this value or None

Implementors§