Acquire a handle to the collection state associated with `id`. # Panics Panics if the identified collection does not exist.
(&self, id: GlobalId)
| 239 | /// |
| 240 | /// Panics if the identified collection does not exist. |
| 241 | fn expect_collection(&self, id: GlobalId) -> &CollectionState { |
| 242 | self.collections.get(&id).expect("collection must exist") |
| 243 | } |
| 244 | |
| 245 | /// Acquire a mutable handle to the collection state associated with `id`. |
| 246 | /// |
no test coverage detected