Trait densevec::Key[][src]

pub trait Key: Clone + PartialEq {
    fn to_usize(self) -> usize;
fn from_usize(k: usize) -> Self; }

Required methods

fn to_usize(self) -> usize[src]

fn from_usize(k: usize) -> Self[src]

Loading content...

Implementations on Foreign Types

impl Key for usize[src]

impl Key for u64[src]

impl Key for u32[src]

impl Key for u16[src]

impl Key for u8[src]

Loading content...

Implementors

Loading content...