(&mut self, id: LeafId, state: LeafState)
| 639 | } |
| 640 | |
| 641 | fn update_leaf_state(&mut self, id: LeafId, state: LeafState) -> Result<(), Self::Error> { |
| 642 | if let Some(leaf) = self.leaves.get_mut(&id) { |
| 643 | leaf.set_state(state); |
| 644 | } |
| 645 | Ok(()) |
| 646 | } |
| 647 | |
| 648 | fn update_leaf_content( |
| 649 | &mut self, |
no test coverage detected