pub(crate) fn update_cell(&mut self, cell: Cell, pos: Position) {
        let pos = self.get_cell_pos(pos);
        self.cells[pos] = cell.clone();
        self.updates.insert(pos);
    }
// This method is for Cursor only.
This method is for Cursor only.
This method is for Cursor only .
pub(crate) fn update_cell(&mut self, cell: Cell, pos: Position) {
        let pos = self.get_cell_pos(pos);
        self.cells[pos] = cell.clone();
        self.updates.insert(pos);
    }
pub ( crate ) fn update_cell ( & mut self , cell : Cell , pos : Position ) { let pos = self . get_cell_pos ( pos ) ; self . cells [ pos ] = cell . clone ( ) ; self . updates . insert ( pos ) ; }
This method is for Cursor only.
This method is for Cursor only .
&mut self
cell
Cell
pos
Position
&mut self
cell
Cell
pos
Position