pub trait NdArray<T> { // Required methods fn shape(&self) -> Shape; fn slice(&self) -> Vec<Vec<&Button<T>>>; }