Function arrow_arith::arity::try_unary
source · pub fn try_unary<I, F, O>(
array: &PrimitiveArray<I>,
op: F
) -> Result<PrimitiveArray<O>, ArrowError>where
I: ArrowPrimitiveType,
O: ArrowPrimitiveType,
F: Fn(I::Native) -> Result<O::Native, ArrowError>,