fix(grid): derive partialeq for cell and grid
This commit is contained in:
parent
9630ee6cf4
commit
0b44a2e50d
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
#[derive(Clone, Default, Debug)]
|
||||
#[derive(Clone, Default, Debug, PartialEq)]
|
||||
pub enum Cell {
|
||||
/// Filled.
|
||||
Filled,
|
||||
|
@ -9,7 +9,7 @@ pub enum Cell {
|
|||
}
|
||||
|
||||
/// A NxM dimensional grid of cells.
|
||||
#[derive(Debug, Default)]
|
||||
#[derive(Debug, Default, PartialEq)]
|
||||
pub struct Grid {
|
||||
/// Cells.
|
||||
pub cells: Vec<Vec<Cell>>,
|
||||
|
|
Loading…
Reference in a new issue