pub fn group_slice_elements<T, const N: usize>(source: &[T]) -> &[[T; N]]Expand description
Transmutes a slice of n elements into a slice of n / N elements, each of which is
an array of N elements.
This function just re-interprets the underlying memory and is thus zero-copy.
ยงPanics
Panics if n is not divisible by N.