Function arrutil::split_to_array_mut [−][src]
pub fn split_to_array_mut<T, const N: usize>(
source: &mut [T]
) -> Option<(&mut [T; N], &mut [T])>
Turns a mutable slice into a mutable reference to an array and a mutable slice starting from the end of the array
Returns None
if N
is shorter than the input slice length