Trait tidb_query_expr::impl_math::Floor[][src]

pub trait Floor {
    type Input: Evaluable + EvaluableRet;
    type Output: EvaluableRet;
    fn floor(
        _ctx: &mut EvalContext,
        arg: &Self::Input
    ) -> Result<Option<Self::Output>>; }

Associated Types

type Input: Evaluable + EvaluableRet[src]

type Output: EvaluableRet[src]

Loading content...

Required methods

fn floor(
    _ctx: &mut EvalContext,
    arg: &Self::Input
) -> Result<Option<Self::Output>>
[src]

Loading content...

Implementors

impl Floor for FloorDecToDec[src]

type Input = Decimal

type Output = Decimal

impl Floor for FloorDecToInt[src]

type Input = Decimal

type Output = Int

impl Floor for FloorIntToDec[src]

type Input = Int

type Output = Decimal

impl Floor for FloorIntToInt[src]

type Input = Int

type Output = Int

impl Floor for FloorReal[src]

type Input = Real

type Output = Real

Loading content...