Get this instance's module.
(&self, store: impl Into<StoreContext<'a, T>>)
| 381 | |
| 382 | /// Get this instance's module. |
| 383 | pub fn module<'a, T: 'static>(&self, store: impl Into<StoreContext<'a, T>>) -> &'a Module { |
| 384 | self._module(store.into().0) |
| 385 | } |
| 386 | |
| 387 | pub(crate) fn _module<'a>(&self, store: &'a StoreOpaque) -> &'a Module { |
| 388 | store.module_for_instance(self.id).unwrap() |