Skip to main content

flatten_each_array_mut

Function flatten_each_array_mut 

Source
pub const fn flatten_each_array_mut<T, const N: usize, const M: usize, const K: usize, const L: usize>(
    array: &mut [[[T; N]; M]; L],
) -> &mut [[T; K]; L]
Expand description

Flatten each element of &mut [[[T; N]; M]; L] to get &mut [[T; K]; L], where K == N * M