Function vec_to_boxed_array2

Source
pub fn vec_to_boxed_array2<T: Clone, const N: usize, const M: usize>(
    vec: Vec<Vec<T>>,
) -> Box<[[T; N]; M]>
Expand description

Converts a two-dimensional vector to a constant sized two-dimensional array.