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 append_owned_series(&mut self, s: 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§
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 append_owned_series(&mut self, s: 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>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".