fn complete_grid(&self) -> bool {
        for i in 0..self.size[0] {
            for j in 0..self.size[1] {
                if matches!(self.grid[i][j].cell_state, Status::Unknown) {
                    return false;
                }
            }
        }
        true
    }
///Returns true if all the cells in the grid are set to either marked or empty
Returns true if all the cells in the grid are set to either marked or empty
Returns true if all the cells in the grid are set to either marked or empty
fn complete_grid(&self) -> bool {
        for i in 0..self.size[0] {
            for j in 0..self.size[1] {
                if matches!(self.grid[i][j].cell_state, Status::Unknown) {
                    return false;
                }
            }
        }
        true
    }
fn complete_grid ( & self ) -> bool { for i in 0 .. self . size [ 0 ] { for j in 0 .. self . size [ 1 ] { if matches ! ( self grid [ i ] [ j ] cell_state Status Unknown ) { return false ; } } } true }
Returns true if all the cells in the grid are set to either marked or empty
Returns true if all the cells in the grid are set to either marked or empty
&self
&self