Acquire a mutable handle to the collection state associated with `id`.
(&mut self, id: GlobalId)
| 230 | |
| 231 | /// Acquire a mutable handle to the collection state associated with `id`. |
| 232 | fn collection_mut(&mut self, id: GlobalId) -> Result<&mut CollectionState, CollectionMissing> { |
| 233 | self.collections.get_mut(&id).ok_or(CollectionMissing(id)) |
| 234 | } |
| 235 | |
| 236 | /// Acquire a handle to the collection state associated with `id`. |
| 237 | /// |
no test coverage detected