pub fn vec_to_boxed_array3<T: Clone, const N: usize, const M: usize, const K: usize>( vec: Vec<Vec<Vec<T>>>, ) -> Box<[[[T; N]; M]; K]>
Converts a three-dimensional vector to a constant sized two-dimensional array.