Searched refs:unwrap_struct (Results 1 – 13 of 13) sorted by relevance
392 let s = s.unwrap_struct(&mut caller)?; in passing_structs_through_wasm_with_untyped_calls()408 let t = t.unwrap_struct(&mut store)?; in passing_structs_through_wasm_with_untyped_calls()492 let s1 = anyref.unwrap_struct(&store)?; in host_sets_struct_global()542 let s1 = anyref.unwrap_struct(&store)?; in wasm_sets_struct_global()588 let s1 = anyref.unwrap_struct(&store)?; in host_sets_struct_in_table()640 let s1 = anyref.unwrap_struct(&store)?; in wasm_sets_struct_in_table()695 let s1 = anyref.unwrap_struct(&store)?; in instantiate_with_struct_global()
242 .unwrap_struct(&caller) in gc_access_during_call()
85 pub fn unwrap_struct(&self, _store: impl AsContext) -> Result<StructRef> { in unwrap_struct() method
138 pub fn unwrap_struct(&self, _store: impl AsContext) -> Result<StructRef> { in unwrap_struct() method
403 pub fn unwrap_struct(&self, ty: ModuleInternedTypeIndex) -> WasmResult<&WasmStructType> { in unwrap_struct() method408 Ok(composite_type.inner.unwrap_struct()) in unwrap_struct()
355 let struct_ty = func_env.types.unwrap_struct(interned_ty)?; in translate_struct_new_default()390 let field_ty = &func_env.types.unwrap_struct(interned_type_index)?.fields[field_index]; in translate_struct_get()439 let field_ty = &func_env.types.unwrap_struct(interned_type_index)?.fields[field_index]; in translate_struct_set()1438 let result = self.gc_layout(type_index).unwrap_struct(); in struct_or_exn_layout()
298 pub fn unwrap_struct(&self) -> &Arc<GcStructLayout> { in unwrap_struct() method
1281 pub fn unwrap_struct(&self) -> &WasmStructType { in unwrap_struct() method1451 pub fn unwrap_struct(&self) -> &WasmStructType { in unwrap_struct() method1453 self.composite_type.inner.unwrap_struct() in unwrap_struct()
393 pub fn unwrap_struct(&self, store: impl AsContext) -> Result<Rooted<StructRef>> { in unwrap_struct() method
607 pub fn unwrap_struct(&self, store: impl AsContext) -> Result<Rooted<StructRef>> { in unwrap_struct() method
92 .unwrap_struct() in layout()
88 .unwrap_struct() in layout()
2053 self.registered_type().unwrap_struct() in as_wasm_struct_type()