summaryrefslogtreecommitdiff
path: root/src/sheet/cell.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sheet/cell.rs')
-rw-r--r--src/sheet/cell.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/sheet/cell.rs b/src/sheet/cell.rs
index 413e299..53a4b04 100644
--- a/src/sheet/cell.rs
+++ b/src/sheet/cell.rs
@@ -110,14 +110,6 @@ impl CellRef {
.clone();
}
- pub fn set_value(&mut self, value: Cell) {
- Register::get(self.sheet_id)
- .unwrap()
- .write()
- .unwrap()
- .set_cell(self.row, self.column, value);
- }
-
pub fn left(&self) -> Option<Self> {
if self.column > 0 {
Self::new(self.sheet_id, self.row, self.column - 1)
@@ -185,7 +177,6 @@ where
fields.add_field_method_get("row", |_, this| Ok(this.row));
fields.add_field_method_get("column", |_, this| Ok(this.column));
fields.add_field_method_get("value", |_, this| Ok(this.value()));
- fields.add_field_method_set("value", |_, this, value| Ok(this.set_value(value)));
fields.add_field_method_get("left", |lua, this| this.left().into_lua(lua));
fields.add_field_method_get("right", |lua, this| this.right().into_lua(lua));
fields.add_field_method_get("up", |lua, this| this.up().into_lua(lua));