pub enum HeapType {
Concrete(u32),
Func,
Extern,
Any,
None,
NoExtern,
NoFunc,
Eq,
Struct,
Array,
I31,
Exn,
}Expand description
A heap type of a reference type.
Variants§
Concrete(u32)
User defined type at the given index.
Func
Untyped (any) function.
Extern
External heap type.
Any
The any heap type.
None
The none heap type.
NoExtern
The noextern heap type.
NoFunc
The nofunc heap type.
Eq
The eq heap type.
Struct
The struct heap type. The common supertype of all struct types.
Array
The array heap type. The common supertype of all array types.
I31
The i31 heap type.
Exn
The abstraction exception heap type.
Introduced in the exception-handling proposal.
Trait Implementations§
source§impl PartialEq for HeapType
impl PartialEq for HeapType
impl Copy for HeapType
impl Eq for HeapType
impl StructuralPartialEq for HeapType
Auto Trait Implementations§
impl Freeze for HeapType
impl RefUnwindSafe for HeapType
impl Send for HeapType
impl Sync for HeapType
impl Unpin for HeapType
impl UnwindSafe for HeapType
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
Mutably borrows from an owned value. Read more
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
Compare self to
key and return true if they are equal.