pub trait SlicedArray {
// Required methods
fn slice_typed(&self, offset: usize, length: usize) -> Self
where Self: Sized;
unsafe fn slice_typed_unchecked(&self, offset: usize, length: usize) -> Self
where Self: Sized;
}
Expand description
Utility trait to slice concrete arrow arrays whilst keeping their
concrete type. E.g. don’t return Box<dyn Array>
.