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