Trait keyed::Key[][src]

pub trait Key {
    type Output;
    fn key(&self) -> Self::Output;
}

Trait for extracting key from a data structure.

Associated Types

type Output[src]

Type of the key.

Loading content...

Required methods

fn key(&self) -> Self::Output[src]

Extract the key from the data structure.

Loading content...

Implementors

Loading content...