Lines Matching refs:ExnRef

3     AnyRef, ArrayRef, AsContext, AsContextMut, ExnRef, ExternRef, Func, HeapType, RefType, Rooted,
59 ExnRef(Option<Rooted<ExnRef>>), enumerator
133 WasmHeapTopType::Exn => Val::ExnRef(None), in null_top()
191 Val::ExnRef(None) => ValType::NULLEXNREF, in load_ty()
192 Val::ExnRef(Some(e)) => ValType::Ref(RefType::new(false, e._ty(store)?.into())), in load_ty()
228 (Val::ExnRef(e), ValType::Ref(ref_ty)) => Ref::from(*e)._matches_ty(store, ref_ty)?, in _matches_ty()
238 | (Val::ExnRef(_), _) in _matches_ty()
283 Val::ExnRef(e) => Ok(ValRaw::exnref(match e { in to_raw()
355 ExnRef::_from_raw(store, raw.get_exnref()).into() in _from_raw()
390 Val::ExnRef(e) => Some(Ref::Exn(e)), in ref_()
466 pub fn exnref(&self) -> Option<Option<&Rooted<ExnRef>>> { in exnref() argument
468 Val::ExnRef(None) => Some(None), in exnref()
469 Val::ExnRef(Some(e)) => Some(Some(e)), in exnref()
485 pub fn unwrap_exnref(&self) -> Option<&Rooted<ExnRef>> { in unwrap_exnref() argument
532 Val::ExnRef(Some(e)) => e.comes_from_same_store(store), in comes_from_same_store()
533 Val::ExnRef(None) => true, in comes_from_same_store()
581 Ref::Exn(e) => Val::ExnRef(e), in from()
642 impl From<Rooted<ExnRef>> for Val {
644 fn from(val: Rooted<ExnRef>) -> Val { in from()
645 Val::ExnRef(Some(val)) in from()
649 impl From<Option<Rooted<ExnRef>>> for Val {
651 fn from(val: Option<Rooted<ExnRef>>) -> Val { in from()
652 Val::ExnRef(val) in from()
775 Exn(Option<Rooted<ExnRef>>),
848 impl From<Rooted<ExnRef>> for Ref {
850 fn from(e: Rooted<ExnRef>) -> Ref { in from()
855 impl From<Option<Rooted<ExnRef>>> for Ref {
857 fn from(e: Option<Rooted<ExnRef>>) -> Ref { in from()
974 pub fn as_exn(&self) -> Option<Option<&Rooted<ExnRef>>> { in as_exn() argument
988 pub fn unwrap_exn(&self) -> Option<&Rooted<ExnRef>> { in unwrap_exn() argument