type A = [[isize; 10]; 10];
type B = [[A; 10]; 10];
let mut x: B = [[[[0; 10]; 10]; 10]; 10];
x[3][4] = [[3; 10]; 10];
Can we do this using ndarrays instead (for A and B)? It is suggestive from the documention that you can only modify elementwise (isize here) and not subarrays themselves.