Trait index_many::slice_index::SliceIndices [−][src]
pub trait SliceIndices<T: ?Sized, const N: usize>: Sized {
type Output: ?Sized;
unsafe fn get_many_unchecked(
this: [Self; N],
slice: &T
) -> [&Self::Output; N];
unsafe fn get_many_unchecked_mut(
this: [Self; N],
slice: &mut T
) -> [&mut Self::Output; N];
fn get_many(this: [Self; N], slice: &T) -> Option<[&Self::Output; N]>;
fn get_many_mut(
this: [Self; N],
slice: &mut T
) -> Option<[&mut Self::Output; N]>;
fn index_many(this: [Self; N], slice: &T) -> [&Self::Output; N];
fn index_many_mut(this: [Self; N], slice: &mut T) -> [&mut Self::Output; N];
}