(&mut self, field: Field)
| 1640 | } |
| 1641 | |
| 1642 | pub fn insert_field(&mut self, field: Field) { |
| 1643 | let mut txn = self.collab.transact_mut(); |
| 1644 | self.body.fields.insert_field(&mut txn, field); |
| 1645 | } |
| 1646 | |
| 1647 | pub fn update_field<F>(&mut self, field_id: &str, f: F) |
| 1648 | where |