Trait polars::chunked_array::builder::list::ListBuilderTrait

source ·
pub trait ListBuilderTrait {
    // Required methods
    fn append_series(&mut self, s: &Series) -> Result<(), PolarsError>;
    fn append_null(&mut self);

    // Provided methods
    fn append_opt_series(
        &mut self,
        opt_s: Option<&Series>
    ) -> Result<(), PolarsError> { ... }
    fn field(&self) -> &Field { ... }
    fn inner_array(&mut self) -> Box<dyn Array> { ... }
    fn fast_explode(&self) -> bool { ... }
    fn finish(&mut self) -> ChunkedArray<ListType> { ... }
}

Required Methods§

source

fn append_series(&mut self, s: &Series) -> Result<(), PolarsError>

source

fn append_null(&mut self)

Provided Methods§

source

fn append_opt_series( &mut self, opt_s: Option<&Series> ) -> Result<(), PolarsError>

source

fn field(&self) -> &Field

source

fn inner_array(&mut self) -> Box<dyn Array>

source

fn fast_explode(&self) -> bool

source

fn finish(&mut self) -> ChunkedArray<ListType>

Implementations on Foreign Types§

source§

impl<S> ListBuilderTrait for Box<S>
where S: ListBuilderTrait + ?Sized,

Implementors§