pub fn slice_as_chunks_mut<T, N: ArraySize>(
    buf: &mut [T]
) -> (&mut [Array<T, N>], &mut [T])
Expand description

Splits the exclusive slice into a slice of N-element arrays, starting at the beginning of the slice, and a remainder slice with length strictly less than N.

Panics

Panics if N is 0.