dense_map

Trait EntryKey

Source
pub trait EntryKey {
    // Required method
    fn get_key_index(&self) -> usize;
}
Expand description

A key providing an index into an DenseMap.

Required Methods§

Source

fn get_key_index(&self) -> usize

Returns the index for this key.

Implementations on Foreign Types§

Source§

impl EntryKey for usize

Implementors§