pub trait BinArithOp:
Op
+ SameOperandsAndResultType
+ OneResultInterface
+ NOpdsInterface<2> {
// Provided methods
fn new(ctx: &mut Context, lhs: Value, rhs: Value) -> Self
where Self: Sized { ... }
fn lhs(&self, ctx: &Context) -> Value
where Self: Sized { ... }
fn rhs(&self, ctx: &Context) -> Value
where Self: Sized { ... }
}Expand description
Binary arithmetic Op.
Provided Methods§
Sourcefn new(ctx: &mut Context, lhs: Value, rhs: Value) -> Selfwhere
Self: Sized,
fn new(ctx: &mut Context, lhs: Value, rhs: Value) -> Selfwhere
Self: Sized,
Create a new binary arithmetic operation given the operands.