pub enum WasmValue {
Bool(bool),
U32(u32),
I32(i32),
I64(i64),
F32(f32),
F64(f64),
Function(WasmSymbol),
Structure(StructureItem),
Array(Box<ArrayType>),
Any,
}Variants§
Bool(bool)
U32(u32)
I32(i32)
I64(i64)
F32(f32)
F64(f64)
Function(WasmSymbol)
Structure(StructureItem)
Array(Box<ArrayType>)
Any
Trait Implementations§
source§impl From<StructureItem> for WasmValue
impl From<StructureItem> for WasmValue
source§fn from(value: StructureItem) -> Self
fn from(value: StructureItem) -> Self
Converts to this type from the input type.
source§impl<'a, 'i> IntoWasm<'a, Instruction<'i>> for WasmValuewhere
'a: 'i,
impl<'a, 'i> IntoWasm<'a, Instruction<'i>> for WasmValuewhere
'a: 'i,
fn as_wast(&'a self) -> Instruction<'i>
source§impl WasmInstruction for WasmValue
impl WasmInstruction for WasmValue
fn emit<'a, 'i>(&'a self, w: &mut Vec<Instruction<'i>>)where
'a: 'i,
Auto Trait Implementations§
impl RefUnwindSafe for WasmValue
impl Send for WasmValue
impl Sync for WasmValue
impl Unpin for WasmValue
impl UnwindSafe for WasmValue
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