Enum wasmedge_types::ValType
source · pub enum ValType {
I32,
I64,
F32,
F64,
V128,
FuncRef,
ExternRef,
}
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.
Trait Implementations§
source§impl PartialEq for ValType
impl PartialEq for ValType
impl Copy for ValType
impl Eq for ValType
impl StructuralEq for ValType
impl StructuralPartialEq for ValType
Auto Trait Implementations§
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