Trait polars_arrow::array::growable::Growable
source · pub trait Growable<'a> {
// Required methods
unsafe fn extend(&mut self, index: usize, start: usize, len: usize);
fn extend_validity(&mut self, additional: usize);
fn len(&self) -> usize;
fn as_box(&mut self) -> Box<dyn Array>;
// Provided methods
unsafe fn extend_copies(
&mut self,
index: usize,
start: usize,
len: usize,
copies: usize,
) { ... }
fn as_arc(&mut self) -> Arc<dyn Array> { ... }
}
Expand description
Describes a struct that can be extended from slices of other pre-existing Array
s.
This is used in operations where a new array is built out of other arrays, such
as filter and concatenation.