pub enum ConstOp {
}Expand description
Operations allowed in extended constant expressions
Variants§
I32Const(i32)
An i32 constant value
I64Const(i64)
An i64 constant value
F32Const(f32)
An f32 constant value
F64Const(f64)
An f64 constant value
V128Const(u128)
A v128 constant value
GlobalGet(GlobalId)
Get the value of a global
RefNull(RefType)
A null reference
RefFunc(FunctionId)
A function reference
I32Add
i32 addition
I32Sub
i32 subtraction
I32Mul
i32 multiplication
I64Add
i64 addition
I64Sub
i64 subtraction
I64Mul
i64 multiplication
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConstOp
impl RefUnwindSafe for ConstOp
impl Send for ConstOp
impl Sync for ConstOp
impl Unpin for ConstOp
impl UnwindSafe for ConstOp
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