Searched refs:VMStructRef (Results 1 – 4 of 4) sorted by relevance
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/ |
| H A D | disabled.rs | 7 pub enum VMStructRef {} enum 14 _inner: VMStructRef, 19 pub fn into_structref_unchecked(self) -> VMStructRef { in into_structref_unchecked() argument 28 impl From<VMStructRef> for VMGcRef { 29 fn from(s: VMStructRef) -> VMGcRef { in from()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/ |
| H A D | structref.rs | 23 pub struct VMStructRef(VMGcRef); struct 25 impl fmt::Pointer for VMStructRef { implementation 31 impl From<VMStructRef> for VMGcRef { 33 fn from(x: VMStructRef) -> Self { in from() 53 pub fn into_structref(self, gc_heap: &impl GcHeap) -> Result<VMStructRef, VMGcRef> { in into_structref() argument 69 pub fn into_structref_unchecked(self) -> VMStructRef { in into_structref_unchecked() argument 71 VMStructRef(self) in into_structref_unchecked() 76 pub fn as_structref(&self, gc_heap: &(impl GcHeap + ?Sized)) -> Option<&VMStructRef> { in as_structref() argument 89 pub fn as_structref_unchecked(&self) -> &VMStructRef { in as_structref_unchecked() argument 93 assert!(matches!(ret, VMStructRef(VMGcRef { .. }))); in as_structref_unchecked() [all …]
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | gc.rs | 291 ) -> Result<Result<VMStructRef, u64>> { in alloc_uninit_struct() argument 298 pub fn dealloc_uninit_struct(&mut self, structref: VMStructRef) { in dealloc_uninit_struct() argument
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/ |
| H A D | structref.rs | 7 use crate::vm::{self, VMGcHeader, VMStructRef}; 512 fn structref<'a>(&self, store: &'a AutoAssertNoGc<'_>) -> Result<&'a VMStructRef> { in structref() argument
|