#[repr(u8)]pub enum AbstractHeapType {
Any = 0,
Eq = 1,
I31 = 2,
Struct = 3,
Array = 4,
None = 5,
Func = 6,
NoFunc = 7,
Exn = 8,
NoExn = 9,
Extern = 10,
NoExtern = 11,
}Expand description
An abstract WebAssembly heap type.
This contains exactly the abstract heap types in core Wasm 3.0.
See https://webassembly.github.io/spec/core/syntax/types.html#syntax-absheaptype
Variants§
Any = 0
Eq = 1
I31 = 2
Struct = 3
Array = 4
None = 5
Func = 6
NoFunc = 7
Exn = 8
NoExn = 9
Extern = 10
NoExtern = 11
Trait Implementations§
Source§impl Clone for AbstractHeapType
impl Clone for AbstractHeapType
Source§fn clone(&self) -> AbstractHeapType
fn clone(&self) -> AbstractHeapType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AbstractHeapType
Source§impl Debug for AbstractHeapType
impl Debug for AbstractHeapType
Source§impl<'de> Deserialize<'de> for AbstractHeapType
impl<'de> Deserialize<'de> for AbstractHeapType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AbstractHeapType
Source§impl Hash for AbstractHeapType
impl Hash for AbstractHeapType
Source§impl PartialEq for AbstractHeapType
impl PartialEq for AbstractHeapType
Source§impl Serialize for AbstractHeapType
impl Serialize 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
Mutably borrows from an owned value. Read more