pub trait IntoSliceIdx<I, T: ?Sized> {
    type Output: SliceIndex<T>;
    // Required method
    fn into_slice_idx(self) -> Self::Output;
}Expand description
Helper trait for indexing operations with a custom index type.
Required Associated Types§
type Output: SliceIndex<T>
Required Methods§
fn into_slice_idx(self) -> Self::Output
Implementations on Foreign Types§
Source§impl<I, T> IntoSliceIdx<I, [T]> for RangeFull
 
impl<I, T> IntoSliceIdx<I, [T]> for RangeFull
Source§impl<I: Idx, T> IntoSliceIdx<I, [T]> for RangeInclusive<I>
 
impl<I: Idx, T> IntoSliceIdx<I, [T]> for RangeInclusive<I>
type Output = RangeInclusive<usize>
fn into_slice_idx(self) -> Self::Output
Source§impl<I: Idx, T> IntoSliceIdx<I, [T]> for RangeToInclusive<I>
 
impl<I: Idx, T> IntoSliceIdx<I, [T]> for RangeToInclusive<I>
type Output = RangeToInclusive<usize>
fn into_slice_idx(self) -> Self::Output
Source§impl<I: Idx, T> IntoSliceIdx<I, [T]> for RangeFrom<I>
Available on crate feature nightly only. 
impl<I: Idx, T> IntoSliceIdx<I, [T]> for RangeFrom<I>
Available on crate feature 
nightly only.Source§impl<I: Idx, T> IntoSliceIdx<I, [T]> for RangeInclusive<I>
Available on crate feature nightly only. 
impl<I: Idx, T> IntoSliceIdx<I, [T]> for RangeInclusive<I>
Available on crate feature 
nightly only.type Output = RangeInclusive<usize>
fn into_slice_idx(self) -> Self::Output
Source§impl<I: Idx, T> IntoSliceIdx<I, [T]> for RangeToInclusive<I>
Available on crate feature nightly only. 
impl<I: Idx, T> IntoSliceIdx<I, [T]> for RangeToInclusive<I>
Available on crate feature 
nightly only.