Function unary
pub fn unary<I, F, O>(array: &PrimitiveArray<I>, op: F) -> PrimitiveArray<O>where
I: ArrowPrimitiveType,
O: ArrowPrimitiveType,
F: Fn(<I as ArrowPrimitiveType>::Native) -> <O as ArrowPrimitiveType>::Native,
pub fn unary<I, F, O>(array: &PrimitiveArray<I>, op: F) -> PrimitiveArray<O>where
I: ArrowPrimitiveType,
O: ArrowPrimitiveType,
F: Fn(<I as ArrowPrimitiveType>::Native) -> <O as ArrowPrimitiveType>::Native,