Same as [`Self::instance`], but for mutability.
(&self, store: &'b mut StoreOpaque)
| 1028 | |
| 1029 | /// Same as [`Self::instance`], but for mutability. |
| 1030 | fn instance_mut<'b>(&self, store: &'b mut StoreOpaque) -> Pin<&'b mut ComponentInstance> { |
| 1031 | store.store_data_mut().component_instance_mut(self.id) |
| 1032 | } |
| 1033 | |
| 1034 | // NB: This method is only intended to be called during the instantiation |
| 1035 | // process because the `Arc::get_mut` here is fallible and won't generally |
no test coverage detected