pub fn utf8_to_primitive<O: Offset, T>(
from: &Utf8Array<O>,
to: &DataType
) -> PrimitiveArray<T> where
T: NativeType + FromLexical,
Expand description
Casts a Utf8Array
to a PrimitiveArray
, making any uncastable value a Null.
pub fn utf8_to_primitive<O: Offset, T>(
from: &Utf8Array<O>,
to: &DataType
) -> PrimitiveArray<T> where
T: NativeType + FromLexical,
Casts a Utf8Array
to a PrimitiveArray
, making any uncastable value a Null.