Downcast this to a [`StructArray`] panicking if not possible
(&self)
| 910 | |
| 911 | /// Downcast this to a [`StructArray`] panicking if not possible |
| 912 | fn as_struct(&self) -> &StructArray { |
| 913 | self.as_struct_opt().expect("struct array") |
| 914 | } |
| 915 | |
| 916 | /// Downcast this to a [`UnionArray`] returning `None` if not possible |
| 917 | fn as_union_opt(&self) -> Option<&UnionArray>; |