(&mut self, id: LeafId, state: LeafState)
| 582 | } |
| 583 | |
| 584 | fn update_leaf_state(&mut self, id: LeafId, state: LeafState) -> Result<(), Self::Error> { |
| 585 | if let Some(leaf) = self.leaves.get_mut(&id) { |
| 586 | leaf.set_state(state); |
| 587 | } |
| 588 | Ok(()) |
| 589 | } |
| 590 | |
| 591 | fn update_leaf_content( |
| 592 | &mut self, |
no test coverage detected