common_function::scalars::expression

Function scalar_unary_op

source
pub fn scalar_unary_op<L: Scalar, O: Scalar, F>(
    l: &VectorRef,
    f: F,
    ctx: &mut EvalContext,
) -> Result<<O as Scalar>::VectorType>
where F: Fn(Option<L::RefType<'_>>, &mut EvalContext) -> Option<O>,