Trait Key
keyed
pub trait Key { type Output; fn key(&self) -> Self::Output; }
Trait for extracting key from a data structure.
type Output
Type of the key.
fn key(&self) -> Self::Output
Extract the key from the data structure.