Indexable

Trait Indexable 

Source
pub trait Indexable {
    type Id: Hash + Eq + Ord;

    // Required method
    fn id(&self) -> &Self::Id;
}

Required Associated Types§

Source

type Id: Hash + Eq + Ord

Required Methods§

Source

fn id(&self) -> &Self::Id

Implementors§