(&mut self, id: LeafId, state: LeafState)
| 634 | } |
| 635 | |
| 636 | fn update_leaf_state(&mut self, id: LeafId, state: LeafState) -> Result<(), Self::Error> { |
| 637 | if let Some(leaf) = self.leaves.get_mut(&id) { |
| 638 | leaf.set_state(state); |
| 639 | } |
| 640 | Ok(()) |
| 641 | } |
| 642 | |
| 643 | fn update_leaf_content( |
| 644 | &mut self, |