Trait automap::AutoMapped[][src]

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

Trait that describes how to extract a key out of a value

Associated Types

type Key[src]

The key type

Loading content...

Required methods

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

Accessor for the key

Loading content...

Implementors

Loading content...