Struct AnonymousBuilder
pub struct AnonymousBuilder<'a> { /* private fields */ }
Implementations§
§impl<'a> AnonymousBuilder<'a>
impl<'a> AnonymousBuilder<'a>
pub fn new(size: usize) -> AnonymousBuilder<'a>
pub fn is_empty(&self) -> bool
pub fn offsets(&self) -> &[i64]
pub fn take_offsets(self) -> Offsets<i64>
pub fn push(&mut self, arr: &'a (dyn Array + 'static))
pub fn push_multiple(&mut self, arrs: &'a [Box<dyn Array>])
pub fn push_null(&mut self)
pub fn push_opt(&mut self, arr: Option<&'a (dyn Array + 'static)>)
pub fn push_empty(&mut self)
pub fn finish( self, inner_dtype: Option<&ArrowDataType>, ) -> Result<ListArray<i64>, PolarsError>
Auto Trait Implementations§
impl<'a> Freeze for AnonymousBuilder<'a>
impl<'a> !RefUnwindSafe for AnonymousBuilder<'a>
impl<'a> Send for AnonymousBuilder<'a>
impl<'a> Sync for AnonymousBuilder<'a>
impl<'a> Unpin for AnonymousBuilder<'a>
impl<'a> !UnwindSafe for AnonymousBuilder<'a>
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