Trait index_vec::IdxSliceIndex[][src]

pub trait IdxSliceIndex<I: Idx, T>: Sealed {
    type Output: ?Sized;
    fn get(self, slice: &IndexSlice<I, [T]>) -> Option<&Self::Output>;
fn get_mut(
        self,
        slice: &mut IndexSlice<I, [T]>
    ) -> Option<&mut Self::Output>;
fn index(self, slice: &IndexSlice<I, [T]>) -> &Self::Output;
fn index_mut(self, slice: &mut IndexSlice<I, [T]>) -> &mut Self::Output; }
Expand description

This is the equivalent of the sealed core::slice::SliceIndex trait. It cannot be overridden from user, code nor should it normally need use directly (Outside of trait bounds, I guess).

Associated Types

Required methods

Implementations on Foreign Types

Implementors