[][src]Trait slab::Index

pub trait Index {
    fn from_usize(i: usize) -> Self;
fn as_usize(&self) -> usize; }

Slab can be indexed by any type implementing Index trait.

Required methods

fn from_usize(i: usize) -> Self

fn as_usize(&self) -> usize

Loading content...

Implementations on Foreign Types

impl Index for usize[src]

Loading content...

Implementors

Loading content...