Enum tinywasm_types::ConstInstruction
source · pub enum ConstInstruction {
I32Const(i32),
I64Const(i64),
F32Const(f32),
F64Const(f64),
GlobalGet(GlobalAddr),
RefNull(ValType),
RefFunc(FuncAddr),
}
Variants§
I32Const(i32)
I64Const(i64)
F32Const(f32)
F64Const(f64)
GlobalGet(GlobalAddr)
RefNull(ValType)
RefFunc(FuncAddr)
Trait Implementations§
source§impl Clone for ConstInstruction
impl Clone for ConstInstruction
source§fn clone(&self) -> ConstInstruction
fn clone(&self) -> ConstInstruction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConstInstruction
impl Debug for ConstInstruction
source§impl PartialEq for ConstInstruction
impl PartialEq for ConstInstruction
source§fn eq(&self, other: &ConstInstruction) -> bool
fn eq(&self, other: &ConstInstruction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConstInstruction
impl StructuralPartialEq for ConstInstruction
Auto Trait Implementations§
impl RefUnwindSafe for ConstInstruction
impl Send for ConstInstruction
impl Sync for ConstInstruction
impl Unpin for ConstInstruction
impl UnwindSafe for ConstInstruction
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