arrow::array::cast

Function as_struct_array

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.