pub const fn slice_index<T, I>(slice: &[T], index: I) -> &[T]where
I: RangeIndex,Expand description
Const equivalent of <[T]>::index for ranges.
pub const fn slice_index<T, I>(slice: &[T], index: I) -> &[T]where
I: RangeIndex,Const equivalent of <[T]>::index for ranges.