Function tidb_query_expr::impl_cast::cast_any_as_decimal[][src]

fn cast_any_as_decimal<From: Evaluable + EvaluableRet + ConvertTo<Decimal>>(
    ctx: &mut EvalContext,
    extra: &RpnFnCallExtra<'_>,
    val: Option<&From>
) -> Result<Option<Decimal>>