pub trait IndexableKey {
    // Required method
    fn index(&self) -> usize;
}
Expand description

Use with FixedMap. From a particular key, extract a usize. These values should be roughly contiguous; the space used by the FixedMap will be O(n) with respect to the largest value returned here.

Required Methods§

source

fn index(&self) -> usize

Implementors§