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