pub fn apply_change(&mut self, change: CellChange) -> bool {
        let mut changed = false;

        let cell = self.cell_at_mut(change.loc);

        if *cell != change.cell {
            *cell = change.cell;
            changed = true
        }
        if changed {
            self.update_board_info();
        }

        changed
    }
/// Applies a cell change to the board and returns true if any
/// changes were made. If so, it also updates the board info.
Applies a cell change to the board and returns true if any
changes were made. If so, it also updates the board info.
Applies a cell change to the board and returns true if any changes were made . If so it also updates the board info .
pub fn apply_change(&mut self, change: CellChange) -> bool {
        let mut changed = false;
        let cell = self.cell_at_mut(change.loc);
        if *cell != change.cell {
            *cell = change.cell;
            changed = true
        }
        if changed {
            self.update_board_info();
        }
        changed
    }
pub fn apply_change ( & mut self , change : CellChange ) -> bool { let mut changed = false ; let cell = self . cell_at_mut ( change . loc ) ; if * cell != change . cell { * cell = change . cell ; changed = true } if changed { self . update_board_info ( ) ; } changed }
Applies a cell change to the board and returns true if any
changes were made.
Applies a cell change to the board and returns true if any changes were made .
&mut self
change
CellChange
&mut self
change
CellChange