Enum tinywasm_types::ValType
source · pub enum ValType {
I32,
I64,
F32,
F64,
V128,
FuncRef,
ExternRef,
}
Expand description
Type of a WebAssembly value.
Variants§
I32
A 32-bit integer.
I64
A 64-bit integer.
F32
A 32-bit float.
F64
A 64-bit float.
V128
A 128-bit vector.
FuncRef
A reference to a function.
ExternRef
A reference to an external value.
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