pub trait ArrowArrayDowncastRef<'a>: 'a {
    // Required method
    fn downcast_array_ref<T: Array + 'static>(self) -> Option<&'a T>;
}
Expand description

Downcast an arrow array to another array, without having to go via Any.

Required Methods§

source

fn downcast_array_ref<T: Array + 'static>(self) -> Option<&'a T>

Downcast an arrow array to another array, without having to go via Any.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a> ArrowArrayDowncastRef<'a> for &'a ArrayRef

source§

fn downcast_array_ref<T: Array + 'static>(self) -> Option<&'a T>

source§

impl<'a> ArrowArrayDowncastRef<'a> for &'a dyn Array

source§

fn downcast_array_ref<T: Array + 'static>(self) -> Option<&'a T>

Implementors§