(&self, instance: RuntimeComponentInstanceIndex)
| 364 | /// for canonical lowering and lifting operations. |
| 365 | #[inline] |
| 366 | pub fn instance_flags(&self, instance: RuntimeComponentInstanceIndex) -> InstanceFlags { |
| 367 | unsafe { |
| 368 | let ptr = self |
| 369 | .vmctx_plus_offset_raw::<VMGlobalDefinition>(self.offsets.instance_flags(instance)); |
| 370 | InstanceFlags(SendSyncPtr::new(ptr)) |
| 371 | } |
| 372 | } |
| 373 | |
| 374 | /// Returns the runtime memory definition corresponding to the index of the |
| 375 | /// memory provided. |
no test coverage detected