pub enum WasmValue {
I32(i32),
I64(i64),
F32(f32),
F64(f64),
ExternRef(u64),
}Expand description
WASM value types for function arguments and returns
Variants§
I32(i32)
32-bit integer
I64(i64)
64-bit integer
F32(f32)
32-bit float
F64(f64)
64-bit float
ExternRef(u64)
External reference (for host objects)
Implementations§
Trait Implementations§
impl StructuralPartialEq for WasmValue
Auto Trait Implementations§
impl Freeze for WasmValue
impl RefUnwindSafe for WasmValue
impl Send for WasmValue
impl Sync for WasmValue
impl Unpin for WasmValue
impl UnsafeUnpin for WasmValue
impl UnwindSafe for WasmValue
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