pub enum AbstractHeapType {
Show 14 variants
Func,
Extern,
Exn,
Cont,
Any,
Eq,
Struct,
Array,
I31,
NoFunc,
NoExtern,
None,
NoExn,
NoCont,
}Expand description
An abstract heap type.
Variants§
Func
An untyped function reference: funcref. This is part of the reference types proposal.
Extern
A reference to any host value: externref. This is part of the reference types proposal.
Exn
A reference to a wasm exception. This is part of the exceptions proposal.
Cont
A reference to a wasm continuation. This is part of the stack switching proposal.
Any
A reference to any reference value: anyref. This is part of the GC proposal.
Eq
A reference that has an identity that can be compared: eqref. This is part of the GC proposal.
Struct
A reference to a GC struct. This is part of the GC proposal.
Array
A reference to a GC array. This is part of the GC proposal.
I31
An unboxed 31-bit integer: i31ref. Part of the GC proposal.
NoFunc
The bottom type of the funcref hierarchy. Part of the GC proposal.
NoExtern
The bottom type of the externref hierarchy. Part of the GC proposal.
None
The bottom type of the anyref hierarchy. Part of the GC proposal.
NoExn
The bottom type of the exnref hierarchy. Part of the exceptions proposal.
NoCont
The bottom type of the contref hierarchy. Part of the stack switching proposal.
Trait Implementations§
Source§impl Clone for AbstractHeapType
impl Clone for AbstractHeapType
Source§fn clone(&self) -> AbstractHeapType
fn clone(&self) -> AbstractHeapType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AbstractHeapType
impl Debug for AbstractHeapType
Source§impl Hash for AbstractHeapType
impl Hash for AbstractHeapType
Source§impl<'a> Parse<'a> for AbstractHeapType
impl<'a> Parse<'a> for AbstractHeapType
Source§impl PartialEq for AbstractHeapType
impl PartialEq for AbstractHeapType
Source§impl Peek for AbstractHeapType
impl Peek for AbstractHeapType
impl Copy for AbstractHeapType
impl Eq for AbstractHeapType
impl StructuralPartialEq for AbstractHeapType
Auto Trait Implementations§
impl Freeze for AbstractHeapType
impl RefUnwindSafe for AbstractHeapType
impl Send for AbstractHeapType
impl Sync for AbstractHeapType
impl Unpin for AbstractHeapType
impl UnsafeUnpin for AbstractHeapType
impl UnwindSafe for AbstractHeapType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.