Trait tidb_query_expr::impl_arithmetic::ArithmeticOpWithCtx[][src]

pub trait ArithmeticOpWithCtx {
    type T: Evaluable + EvaluableRet;
    fn calc(
        ctx: &mut EvalContext,
        lhs: &Self::T,
        rhs: &Self::T
    ) -> Result<Option<Self::T>>; }

Associated Types

type T: Evaluable + EvaluableRet[src]

Loading content...

Required methods

fn calc(
    ctx: &mut EvalContext,
    lhs: &Self::T,
    rhs: &Self::T
) -> Result<Option<Self::T>>
[src]

Loading content...

Implementors

impl ArithmeticOpWithCtx for DecimalDivide[src]

type T = Decimal

impl ArithmeticOpWithCtx for DecimalMod[src]

type T = Decimal

impl ArithmeticOpWithCtx for RealDivide[src]

type T = Real

Loading content...