Skip to main content

unflatten_ref

Function unflatten_ref 

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

Unflatten &[T; K] into &[[T; N]; M], where K == N * M