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]

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]

Implementors

impl Key for TextureRef

impl Key for CubemapRef

impl Key for SamplerRef

impl Key for MaterialRef

impl Key for ShadowMaterialRef

impl<V, B> Key for AllocatorHandle<V, B>