Trait arrow::array::ArrayAccessor
source · [−]pub trait ArrayAccessor: Array {
type Item: Send + Sync;
fn value(&self, index: usize) -> Self::Item;
unsafe fn value_unchecked(&self, index: usize) -> Self::Item;
}
Expand description
A generic trait for accessing the values of an Array
Required Associated Types
Required Methods
unsafe fn value_unchecked(&self, index: usize) -> Self::Item
unsafe fn value_unchecked(&self, index: usize) -> Self::Item
Returns the element at index i
Safety
Caller is responsible for ensuring that the index is within the bounds of the array