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 From<AbstractHeapType> for AbstractHeapType
Available on crate feature wasmparser
only.
impl From<AbstractHeapType> for AbstractHeapType
wasmparser
only.source§fn from(value: AbstractHeapType) -> Self
fn from(value: AbstractHeapType) -> Self
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§impl PartialOrd for AbstractHeapType
impl PartialOrd 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 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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)