Struct polars_core::chunked_array::builder::list::ListPrimitiveChunkedBuilder
source · [−]pub struct ListPrimitiveChunkedBuilder<T>where
T: PolarsNumericType,{
pub builder: MutableListArray<i64, MutablePrimitiveArray<T::Native>>,
/* private fields */
}
Fields
builder: MutableListArray<i64, MutablePrimitiveArray<T::Native>>
Implementations
sourceimpl<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
) -> Self
pub fn append_slice(&mut self, opt_v: Option<&[T::Native]>)
sourcepub fn append_iter_values<I: Iterator<Item = T::Native> + TrustedLen>(
&mut self,
iter: I
)
pub fn append_iter_values<I: Iterator<Item = T::Native> + TrustedLen>(
&mut self,
iter: I
)
Appends from an iterator over values
sourcepub fn append_iter<I: Iterator<Item = Option<T::Native>> + TrustedLen>(
&mut self,
iter: I
)
pub fn append_iter<I: Iterator<Item = Option<T::Native>> + TrustedLen>(
&mut self,
iter: I
)
Appends from an iterator over values
Trait Implementations
sourceimpl<T> ListBuilderTrait for ListPrimitiveChunkedBuilder<T>where
T: PolarsNumericType,
impl<T> ListBuilderTrait for ListPrimitiveChunkedBuilder<T>where
T: PolarsNumericType,
fn append_opt_series(&mut self, opt_s: Option<&Series>)
fn append_null(&mut self)
fn append_series(&mut self, s: &Series)
fn finish(&mut self) -> ListChunked
Auto Trait Implementations
impl<T> RefUnwindSafe for ListPrimitiveChunkedBuilder<T>where
<T as PolarsNumericType>::Native: RefUnwindSafe,
impl<T> Send for ListPrimitiveChunkedBuilder<T>
impl<T> Sync for ListPrimitiveChunkedBuilder<T>
impl<T> Unpin for ListPrimitiveChunkedBuilder<T>where
<T as PolarsNumericType>::Native: Unpin,
impl<T> UnwindSafe for ListPrimitiveChunkedBuilder<T>where
<T as PolarsNumericType>::Native: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more