Convenience helper to return the `&ComponentInstance` that's being instantiated.
(&self, store: &'b StoreOpaque)
| 1023 | /// Convenience helper to return the `&ComponentInstance` that's being |
| 1024 | /// instantiated. |
| 1025 | fn instance<'b>(&self, store: &'b StoreOpaque) -> &'b ComponentInstance { |
| 1026 | store.store_data().component_instance(self.id) |
| 1027 | } |
| 1028 | |
| 1029 | /// Same as [`Self::instance`], but for mutability. |
| 1030 | fn instance_mut<'b>(&self, store: &'b mut StoreOpaque) -> Pin<&'b mut ComponentInstance> { |
no test coverage detected