Trait tidb_query_expr::impl_math::Ceil[][src]

pub trait Ceil {
    type Input: Evaluable + EvaluableRet;
    type Output: EvaluableRet;
    fn ceil(
        _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 ceil(
    _ctx: &mut EvalContext,
    arg: &Self::Input
) -> Result<Option<Self::Output>>
[src]

Loading content...

Implementors

impl Ceil for CeilDecToDec[src]

type Input = Decimal

type Output = Decimal

impl Ceil for CeilDecToInt[src]

type Input = Decimal

type Output = Int

impl Ceil for CeilIntToDec[src]

type Input = Int

type Output = Decimal

impl Ceil for CeilIntToInt[src]

type Input = Int

type Output = Int

impl Ceil for CeilReal[src]

type Input = Real

type Output = Real

Loading content...