Downcast this to a [`GenericByteArray`] panicking if not possible
(&self)
| 854 | |
| 855 | /// Downcast this to a [`GenericByteArray`] panicking if not possible |
| 856 | fn as_bytes<T: ByteArrayType>(&self) -> &GenericByteArray<T> { |
| 857 | self.as_bytes_opt().expect("byte array") |
| 858 | } |
| 859 | |
| 860 | /// Downcast this to a [`GenericStringArray`] returning `None` if not possible |
| 861 | fn as_string_opt<O: OffsetSizeTrait>(&self) -> Option<&GenericStringArray<O>> { |