Trait wasmi_core::ArithmeticOps
source · pub trait ArithmeticOps<T>: Copy {
// Required methods
fn add(self, other: T) -> T;
fn sub(self, other: T) -> T;
fn mul(self, other: T) -> T;
fn div(self, other: T) -> Result<T, TrapCode>;
}
Expand description
Arithmetic operations.