Lines Matching refs:ExternRef

120 pub struct ExternRef {  struct
124 unsafe impl GcRefImpl for ExternRef { argument
141 impl ExternRef { impl
216 pub fn new<T>(mut store: impl AsContextMut, value: T) -> Result<Rooted<ExternRef>> in new()
308 pub async fn new_async<T>(mut store: impl AsContextMut, value: T) -> Result<Rooted<ExternRef>> in new_async()
321 ) -> Result<Rooted<ExternRef>> in _new_async()
395 ) -> Result<Rooted<ExternRef>> { in convert_any() argument
403 ) -> Result<Rooted<ExternRef>> { in _convert_any() argument
565 pub fn from_raw(mut store: impl AsContextMut, raw: u32) -> Option<Rooted<ExternRef>> { in from_raw() argument
571 pub(crate) fn _from_raw(store: &mut AutoAssertNoGc, raw: u32) -> Option<Rooted<ExternRef>> { in _from_raw() argument
601 unsafe impl WasmTy for Rooted<ExternRef> {
622 Self::wasm_ty_load(store, ptr.get_externref(), ExternRef::from_cloned_gc_ref) in load()
626 unsafe impl WasmTy for Option<Rooted<ExternRef>> {
648 <Rooted<ExternRef>>::wasm_ty_option_store(self, store, ptr, ValRaw::externref) in store()
652 <Rooted<ExternRef>>::wasm_ty_option_load( in load()
655 ExternRef::from_cloned_gc_ref, in load()
660 unsafe impl WasmTy for OwnedRooted<ExternRef> {
686 Self::wasm_ty_load(store, ptr.get_externref(), ExternRef::from_cloned_gc_ref) in load()
690 unsafe impl WasmTy for Option<OwnedRooted<ExternRef>> {
713 <OwnedRooted<ExternRef>>::wasm_ty_option_store(self, store, ptr, ValRaw::externref) in store()
717 <OwnedRooted<ExternRef>>::wasm_ty_option_load( in load()
720 ExternRef::from_cloned_gc_ref, in load()