Trait index_many::generic::Indices[][src]

pub unsafe trait Indices<const N: usize>: Copy {
    fn to_raw_indices(&self) -> [usize; N];
fn is_valid(&self, len: usize) -> bool;
fn cause_invalid_panic(&self, len: usize) -> !; }

Required methods

fn to_raw_indices(&self) -> [usize; N][src]

fn is_valid(&self, len: usize) -> bool[src]

fn cause_invalid_panic(&self, len: usize) -> ![src]

Loading content...

Implementations on Foreign Types

impl<const N: usize> Indices<N> for [usize; N][src]

Loading content...

Implementors

impl<const N: usize> Indices<N> for PresortedIndices<N>[src]

impl<const N: usize> Indices<N> for UnsortedIndices<N>[src]

Loading content...