pub trait Key: Clone + Copy + From<DefaultKey> + Into<DefaultKey> {
    fn index(self) -> usize;
}
Expand description

Key used to access values stored in some SharedVec.

A Key must support infallible conversion from and to DefaultKey.

Required methods

The index associated with the key.

Implementors