Function subslice_mut_const
Source pub const unsafe fn subslice_mut_const<T>(
slice: &mut [T],
range: Range<usize>,
) -> &mut [T]
Expand description
A const variant of &mut slice[range].
§Panics
This function will panic if the range is invalid. This check
is only performed in debug mode.
§Safety
This function does not verify the out-of-bounds access.
It is up to the caller to ensure that the range is valid.