Looks up the `vm::ComponentInstance` within `store` that this id points to. # Panics Panics if `self` does not belong to `store`.
(&self, store: &'a StoreOpaque)
| 213 | /// |
| 214 | /// Panics if `self` does not belong to `store`. |
| 215 | pub(crate) fn get<'a>(&self, store: &'a StoreOpaque) -> &'a ComponentInstance { |
| 216 | self.assert_belongs_to(store.id()); |
| 217 | store.component_instance(self.instance) |
| 218 | } |
| 219 | |
| 220 | /// Mutable version of `get` above. |
| 221 | /// |
no test coverage detected