Struct polars::prelude::fixed_size_list::AnonymousBuilder
pub struct AnonymousBuilder {
pub width: usize,
/* private fields */
}
Available on crate feature
dtype-array
only.Fields§
§width: usize
Implementations§
§impl AnonymousBuilder
impl AnonymousBuilder
pub fn new(capacity: usize, width: usize) -> AnonymousBuilder
pub fn is_empty(&self) -> bool
pub fn push(&mut self, arr: Box<dyn Array>)
pub fn push_null(&mut self)
pub fn finish( self, inner_dtype: Option<&ArrowDataType> ) -> Result<FixedSizeListArray, PolarsError>
Trait Implementations§
§impl Default for AnonymousBuilder
impl Default for AnonymousBuilder
§fn default() -> AnonymousBuilder
fn default() -> AnonymousBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AnonymousBuilder
impl !RefUnwindSafe for AnonymousBuilder
impl Send for AnonymousBuilder
impl Sync for AnonymousBuilder
impl Unpin for AnonymousBuilder
impl !UnwindSafe for AnonymousBuilder
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