pub enum Value {
I32(u32),
I64(u64),
F32(F32),
F64(F64),
}
Expand description
A value at runtime. This is essentially a duplicate of ValType just with additional values.
See https://webassembly.github.io/spec/core/exec/runtime.html#values
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Value
impl PartialEq for Value
impl Copy for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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