Struct polars::chunked_array::builder::ListPrimitiveChunkedBuilder   
source · pub struct ListPrimitiveChunkedBuilder<T>where
    T: PolarsNumericType,{
    pub builder: MutableListArray<i64, MutablePrimitiveArray<<T as PolarsNumericType>::Native>>,
    /* private fields */
}Fields§
§builder: MutableListArray<i64, MutablePrimitiveArray<<T as PolarsNumericType>::Native>>Implementations§
source§impl<T> ListPrimitiveChunkedBuilder<T>where
    T: PolarsNumericType,
 
impl<T> ListPrimitiveChunkedBuilder<T>where
    T: PolarsNumericType,
pub fn new( name: &str, capacity: usize, values_capacity: usize, logical_type: DataType ) -> ListPrimitiveChunkedBuilder<T>
pub fn new_with_values_type( name: &str, capacity: usize, values_capacity: usize, values_type: DataType, logical_type: DataType ) -> ListPrimitiveChunkedBuilder<T>
pub fn append_slice(&mut self, items: &[<T as PolarsNumericType>::Native])
pub fn append_opt_slice( &mut self, opt_v: Option<&[<T as PolarsNumericType>::Native]> )
sourcepub fn append_iter_values<I>(&mut self, iter: I)
 
pub fn append_iter_values<I>(&mut self, iter: I)
Appends from an iterator over values
sourcepub fn append_iter<I>(&mut self, iter: I)
 
pub fn append_iter<I>(&mut self, iter: I)
Appends from an iterator over values
Trait Implementations§
source§impl<T> ListBuilderTrait for ListPrimitiveChunkedBuilder<T>where
    T: PolarsNumericType,
 
impl<T> ListBuilderTrait for ListPrimitiveChunkedBuilder<T>where
    T: PolarsNumericType,
fn append_null(&mut self)
fn append_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 append_opt_series( &mut self, opt_s: Option<&Series> ) -> Result<(), PolarsError>
fn finish(&mut self) -> ChunkedArray<ListType>
Auto Trait Implementations§
impl<T> Freeze for ListPrimitiveChunkedBuilder<T>
impl<T> !RefUnwindSafe for ListPrimitiveChunkedBuilder<T>
impl<T> Send for ListPrimitiveChunkedBuilder<T>
impl<T> Sync for ListPrimitiveChunkedBuilder<T>
impl<T> Unpin for ListPrimitiveChunkedBuilder<T>
impl<T> !UnwindSafe for ListPrimitiveChunkedBuilder<T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
 
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more