Struct polars::prelude::ListPrimitiveChunkedBuilder
source · [−]pub struct ListPrimitiveChunkedBuilder<T> where
T: NumericNative, {
pub builder: MutableListArray<i64, MutablePrimitiveArray<T>>,
/* private fields */
}
Fields
builder: MutableListArray<i64, MutablePrimitiveArray<T>>
Implementations
sourceimpl<T> ListPrimitiveChunkedBuilder<T> where
T: NumericNative,
impl<T> ListPrimitiveChunkedBuilder<T> where
T: NumericNative,
pub fn new(
name: &str,
capacity: usize,
values_capacity: usize,
logical_type: DataType
) -> ListPrimitiveChunkedBuilder<T>
pub fn append_slice(&mut self, opt_v: Option<&[T]>)
sourcepub fn append_iter_values<I>(&mut self, iter: I) where
I: Iterator<Item = T> + TrustedLen,
pub fn append_iter_values<I>(&mut self, iter: I) where
I: Iterator<Item = T> + TrustedLen,
Appends from an iterator over values
sourcepub fn append_iter<I>(&mut self, iter: I) where
I: Iterator<Item = Option<T>> + TrustedLen,
pub fn append_iter<I>(&mut self, iter: I) where
I: Iterator<Item = Option<T>> + TrustedLen,
Appends from an iterator over values
Trait Implementations
sourceimpl<T> ListBuilderTrait for ListPrimitiveChunkedBuilder<T> where
T: NumericNative,
impl<T> ListBuilderTrait for ListPrimitiveChunkedBuilder<T> where
T: NumericNative,
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) -> ChunkedArray<ListType>
Auto Trait Implementations
impl<T> RefUnwindSafe for ListPrimitiveChunkedBuilder<T> where
T: RefUnwindSafe,
impl<T> Send for ListPrimitiveChunkedBuilder<T>
impl<T> Sync for ListPrimitiveChunkedBuilder<T>
impl<T> Unpin for ListPrimitiveChunkedBuilder<T> where
T: Unpin,
impl<T> UnwindSafe for ListPrimitiveChunkedBuilder<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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