1 2 3 4 5 6 7 8 9
#[derive(Clone, Debug)] pub struct Row<T> { pub cells: Vec<T> } #[derive(Debug)] pub struct Grid<T> { pub rows: Vec<Row<T>> }