pub enum ValType {
I32,
I64,
F32,
F64,
V128,
FuncRef,
ExternRef,
UnsupportedRef,
}
Expand description
Defines WasmEdge value types.
Variants§
I32
32-bit integer.
Integers are not inherently signed or unsigned, their interpretation is determined by individual operations.
I64
64-bit integer.
Integers are not inherently signed or unsigned, their interpretation is determined by individual operations.
F32
32-bit floating-point data as defined by the IEEE 754-2019.
F64
64-bit floating-point data as defined by the IEEE 754-2019.
V128
128-bit vector of packed integer or floating-point data.
The packed data can be interpreted as signed or unsigned integers, single or double precision floating-point values, or a single 128 bit type. The interpretation is determined by individual operations.
FuncRef
A reference to a host function.
ExternRef
A reference to object.
UnsupportedRef
A reference that unsupported by c-api.
Trait Implementations§
impl Copy for ValType
impl Eq for ValType
impl StructuralPartialEq for ValType
Auto Trait Implementations§
impl Freeze for ValType
impl RefUnwindSafe for ValType
impl Send for ValType
impl Sync for ValType
impl Unpin for ValType
impl UnwindSafe for ValType
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