pub enum WasmType {
I32,
I64,
F32,
F64,
V128,
RefFunc,
RefExtern,
}Expand description
Type of a WebAssembly value.
Variants§
I32
A 32-bit integer.
I64
A 64-bit integer.
F32
A 32-bit float.
F64
A 64-bit float.
V128
A 128-bit vector
RefFunc
A reference to a function.
RefExtern
A reference to an external value.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WasmType
impl<'de> Deserialize<'de> for WasmType
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
Source§impl<'a> FromIterator<&'a WasmType> for ValueCounts
impl<'a> FromIterator<&'a WasmType> for ValueCounts
impl Copy for WasmType
impl Eq for WasmType
impl StructuralPartialEq for WasmType
Auto Trait Implementations§
impl Freeze for WasmType
impl RefUnwindSafe for WasmType
impl Send for WasmType
impl Sync for WasmType
impl Unpin for WasmType
impl UnsafeUnpin for WasmType
impl UnwindSafe for WasmType
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