Function arrow_array::cast::as_struct_array
source · pub fn as_struct_array(arr: &dyn Array) -> &StructArray
Expand description
Force downcast of an Array
, such as an ArrayRef
to
StructArray
, panicking on failure.
pub fn as_struct_array(arr: &dyn Array) -> &StructArray
Force downcast of an Array
, such as an ArrayRef
to
StructArray
, panicking on failure.