Trait index_many::std_proposal::SliceExt[][src]

pub trait SliceExt<T> {
    unsafe fn get_many_unchecked_mut<const N: usize>(
        &mut self,
        indices: [usize; N]
    ) -> [&mut T; N];
fn get_many_mut_opt<const N: usize>(
        &mut self,
        indices: [usize; N]
    ) -> Option<[&mut T; N]>;
fn get_many_mut_res_simple<const N: usize>(
        &mut self,
        indices: [usize; N]
    ) -> Result<[&mut T; N], ErrorSimple<N>>;
fn get_many_mut_res_direct<const N: usize>(
        &mut self,
        indices: [usize; N]
    ) -> Result<[&mut T; N], ErrorKind>;
fn get_many_mut_res_indirect<const N: usize>(
        &mut self,
        indices: [usize; N]
    ) -> Result<[&mut T; N], Error<N>>;
fn get_many_mut_res_indirect_niche<const N: usize>(
        &mut self,
        indices: [usize; N]
    ) -> Result<[&mut T; N], ErrorNiche<N>>; }

Required methods

Implementations on Foreign Types

Implementors