Home
last modified time | relevance | path

Searched refs:VMNullExternRef (Results 1 – 1 of 1) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/
H A Dnull.rs84 struct VMNullExternRef { struct
89 unsafe impl GcHeapObject for VMNullExternRef { argument
96 impl VMNullExternRef { implementation
102 ) -> &'a TypedGcRef<VMNullExternRef> { in typed_ref() argument
104 debug_assert!(gc_ref.is_typed::<VMNullExternRef>(gc_heap)); in typed_ref()
258 let gc_ref = match self.alloc(VMGcHeader::externref(), Layout::new::<VMNullExternRef>())? { in alloc_externref()
262 self.index_mut::<VMNullExternRef>(gc_ref.as_typed_unchecked()) in alloc_externref()
268 let typed_ref = VMNullExternRef::typed_ref(self, externref); in externref_host_data()