Skip to main content

BinArithOp

Trait BinArithOp 

Source
pub trait BinArithOp:
    Op
    + SameOperandsAndResultType
    + OneResultInterface
    + NOpdsInterface<2>
    + NResultsInterface<1> {
    // Provided method
    fn new(ctx: &mut Context, lhs: Value, rhs: Value) -> Self
       where Self: Sized { ... }
}
Expand description

Binary arithmetic Op.

Provided Methods§

Source

fn new(ctx: &mut Context, lhs: Value, rhs: Value) -> Self
where Self: Sized,

Create a new binary arithmetic operation given the operands.

Trait Implementations§

Implementors§