Function pulp::as_arrays_mut

source ·
pub fn as_arrays_mut<const N: usize, T>(
    slice: &mut [T]
) -> (&mut [[T; N]], &mut [T])
Expand description

Splits a slice into chunks of equal size (known at compile time).

Returns the chunks and the remaining section of the input slice.