[−][src]Trait index_vec::IdxSliceIndex
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).
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).
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
impl<I: Idx, T> IdxSliceIndex<I, T> for Range<I>
[src]type Output = IndexSlice<I, [T]>
fn get(self, slice: &IndexSlice<I, [T]>) -> Option<&Self::Output>
[src]fn get_mut(self, slice: &mut IndexSlice<I, [T]>) -> Option<&mut Self::Output>
[src]fn index(self, slice: &IndexSlice<I, [T]>) -> &Self::Output
[src]fn index_mut(self, slice: &mut IndexSlice<I, [T]>) -> &mut Self::Output
[src]impl<I: Idx, T> IdxSliceIndex<I, T> for RangeFrom<I>
[src]type Output = IndexSlice<I, [T]>
fn get(self, slice: &IndexSlice<I, [T]>) -> Option<&Self::Output>
[src]fn get_mut(self, slice: &mut IndexSlice<I, [T]>) -> Option<&mut Self::Output>
[src]fn index(self, slice: &IndexSlice<I, [T]>) -> &Self::Output
[src]fn index_mut(self, slice: &mut IndexSlice<I, [T]>) -> &mut Self::Output
[src]impl<I: Idx, T> IdxSliceIndex<I, T> for RangeTo<I>
[src]type Output = IndexSlice<I, [T]>
fn get(self, slice: &IndexSlice<I, [T]>) -> Option<&Self::Output>
[src]fn get_mut(self, slice: &mut IndexSlice<I, [T]>) -> Option<&mut Self::Output>
[src]fn index(self, slice: &IndexSlice<I, [T]>) -> &Self::Output
[src]fn index_mut(self, slice: &mut IndexSlice<I, [T]>) -> &mut Self::Output
[src]impl<I: Idx, T> IdxSliceIndex<I, T> for RangeInclusive<I>
[src]type Output = IndexSlice<I, [T]>
fn get(self, slice: &IndexSlice<I, [T]>) -> Option<&Self::Output>
[src]fn get_mut(self, slice: &mut IndexSlice<I, [T]>) -> Option<&mut Self::Output>
[src]fn index(self, slice: &IndexSlice<I, [T]>) -> &Self::Output
[src]fn index_mut(self, slice: &mut IndexSlice<I, [T]>) -> &mut Self::Output
[src]impl<I: Idx, T> IdxSliceIndex<I, T> for RangeToInclusive<I>
[src]type Output = IndexSlice<I, [T]>
fn get(self, slice: &IndexSlice<I, [T]>) -> Option<&Self::Output>
[src]fn get_mut(self, slice: &mut IndexSlice<I, [T]>) -> Option<&mut Self::Output>
[src]fn index(self, slice: &IndexSlice<I, [T]>) -> &Self::Output
[src]fn index_mut(self, slice: &mut IndexSlice<I, [T]>) -> &mut Self::Output
[src]impl<I: Idx, T> IdxSliceIndex<I, T> for RangeFull
[src]type Output = IndexSlice<I, [T]>
fn get(self, slice: &IndexSlice<I, [T]>) -> Option<&Self::Output>
[src]fn get_mut(self, slice: &mut IndexSlice<I, [T]>) -> Option<&mut Self::Output>
[src]fn index(self, slice: &IndexSlice<I, [T]>) -> &Self::Output
[src]fn index_mut(self, slice: &mut IndexSlice<I, [T]>) -> &mut Self::Output
[src]impl<I: Idx, T> IdxSliceIndex<I, T> for I
[src]type Output = T
fn get(self, slice: &IndexSlice<I, [T]>) -> Option<&Self::Output>
[src]fn get_mut(self, slice: &mut IndexSlice<I, [T]>) -> Option<&mut Self::Output>
[src]fn index(self, slice: &IndexSlice<I, [T]>) -> &Self::Output
[src]fn index_mut(self, slice: &mut IndexSlice<I, [T]>) -> &mut Self::Output
[src]impl<I: Idx, T> IdxSliceIndex<I, T> for usize
[src]type Output = T
fn get(self, slice: &IndexSlice<I, [T]>) -> Option<&Self::Output>
[src]fn get_mut(self, slice: &mut IndexSlice<I, [T]>) -> Option<&mut Self::Output>
[src]fn index(self, slice: &IndexSlice<I, [T]>) -> &Self::Output
[src]fn index_mut(self, slice: &mut IndexSlice<I, [T]>) -> &mut Self::Output
[src]