[][src]Trait const_enum_map::ConstKey

pub trait ConstKey<T>: Copy + Clone {
    fn value_list() -> &'static [T];
fn get_id(self) -> usize; fn get(self) -> &'static T { ... } }

Required methods

fn value_list() -> &'static [T]

fn get_id(self) -> usize

Loading content...

Provided methods

fn get(self) -> &'static T

Loading content...

Implementors

Loading content...