pub enum Value<F32 = f32, F64 = f64> {
I32(i32),
I64(i64),
F32(F32),
F64(F64),
V128(u128),
}Expand description
Wasm value
Variants§
I32(i32)
32-bit signed or unsigned integer.
I64(i64)
64-bit signed or unsigned integer.
F32(F32)
32-bit floating point number.
F64(F64)
64-bit floating point number.
V128(u128)
128-bit vector.
Trait Implementations§
Source§impl<F32: PartialOrd, F64: PartialOrd> PartialOrd for Value<F32, F64>
impl<F32: PartialOrd, F64: PartialOrd> PartialOrd for Value<F32, F64>
impl<F32: Copy, F64: Copy> Copy for Value<F32, F64>
impl<F32, F64> StructuralPartialEq for Value<F32, F64>
Auto Trait Implementations§
impl<F32, F64> Freeze for Value<F32, F64>
impl<F32, F64> RefUnwindSafe for Value<F32, F64>where
F32: RefUnwindSafe,
F64: RefUnwindSafe,
impl<F32, F64> Send for Value<F32, F64>
impl<F32, F64> Sync for Value<F32, F64>
impl<F32, F64> Unpin for Value<F32, F64>
impl<F32, F64> UnsafeUnpin for Value<F32, F64>where
F32: UnsafeUnpin,
F64: UnsafeUnpin,
impl<F32, F64> UnwindSafe for Value<F32, F64>where
F32: UnwindSafe,
F64: UnwindSafe,
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