Trait tidb_query_expr::impl_math::Floor [−][src]
Associated Types
type Input: Evaluable + EvaluableRet
[src]
type Output: EvaluableRet
[src]
Required methods
Loading content...Implementors
impl Floor for FloorDecToDec
[src]
type Input = Decimal
type Output = Decimal
fn floor(
ctx: &mut EvalContext,
arg: &Self::Input
) -> Result<Option<Self::Output>>
[src]
ctx: &mut EvalContext,
arg: &Self::Input
) -> Result<Option<Self::Output>>
impl Floor for FloorDecToInt
[src]
type Input = Decimal
type Output = Int
fn floor(
ctx: &mut EvalContext,
arg: &Self::Input
) -> Result<Option<Self::Output>>
[src]
ctx: &mut EvalContext,
arg: &Self::Input
) -> Result<Option<Self::Output>>
impl Floor for FloorIntToDec
[src]
type Input = Int
type Output = Decimal
fn floor(
_ctx: &mut EvalContext,
arg: &Self::Input
) -> Result<Option<Self::Output>>
[src]
_ctx: &mut EvalContext,
arg: &Self::Input
) -> Result<Option<Self::Output>>
impl Floor for FloorIntToInt
[src]
type Input = Int
type Output = Int
fn floor(
_ctx: &mut EvalContext,
arg: &Self::Input
) -> Result<Option<Self::Output>>
[src]
_ctx: &mut EvalContext,
arg: &Self::Input
) -> Result<Option<Self::Output>>