Enum wasm_encoder::AbstractHeapType
source · pub enum AbstractHeapType {
Func,
Extern,
Any,
None,
NoExtern,
NoFunc,
Eq,
Struct,
Array,
I31,
Exn,
NoExn,
}Expand description
An abstract heap type.
Variants§
Func
Untyped (any) function.
Extern
The abstract external heap type.
Any
The abstract any heap type.
The common supertype (a.k.a. top) of all internal types.
None
The abstract none heap type.
The common subtype (a.k.a. bottom) of all internal types.
NoExtern
The abstract noextern heap type.
The common subtype (a.k.a. bottom) of all external types.
NoFunc
The abstract nofunc heap type.
The common subtype (a.k.a. bottom) of all function types.
Eq
The abstract eq heap type.
The common supertype of all referenceable types on which comparison (ref.eq) is allowed.
Struct
The abstract struct heap type.
The common supertype of all struct types.
Array
The abstract array heap type.
The common supertype of all array types.
I31
The unboxed i31 heap type.
Exn
The abstract exception heap type.
NoExn
The abstract noexn heap type.
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 Encode for AbstractHeapType
impl Encode for AbstractHeapType
source§impl Hash for AbstractHeapType
impl Hash for AbstractHeapType
source§impl Ord for AbstractHeapType
impl Ord for AbstractHeapType
source§fn cmp(&self, other: &AbstractHeapType) -> Ordering
fn cmp(&self, other: &AbstractHeapType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for AbstractHeapType
impl PartialEq for AbstractHeapType
source§fn eq(&self, other: &AbstractHeapType) -> bool
fn eq(&self, other: &AbstractHeapType) -> bool
self and other values to be equal, and is used
by ==.source§impl PartialOrd for AbstractHeapType
impl PartialOrd for AbstractHeapType
source§fn partial_cmp(&self, other: &AbstractHeapType) -> Option<Ordering>
fn partial_cmp(&self, other: &AbstractHeapType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self and other) and is used by the <=
operator. Read more