Struct polars_arrow::array::growable::GrowableNull
source · pub struct GrowableNull { /* private fields */ }
Implementations§
source§impl GrowableNull
impl GrowableNull
sourcepub fn new(data_type: ArrowDataType) -> Self
pub fn new(data_type: ArrowDataType) -> Self
Creates a new GrowableNull
.
Trait Implementations§
source§impl Default for GrowableNull
impl Default for GrowableNull
source§impl From<GrowableNull> for NullArray
impl From<GrowableNull> for NullArray
source§fn from(val: GrowableNull) -> Self
fn from(val: GrowableNull) -> Self
Converts to this type from the input type.
source§impl<'a> Growable<'a> for GrowableNull
impl<'a> Growable<'a> for GrowableNull
source§fn extend_validity(&mut self, additional: usize)
fn extend_validity(&mut self, additional: usize)
source§fn as_arc(&mut self) -> Arc<dyn Array>
fn as_arc(&mut self) -> Arc<dyn Array>
Converts this
Growable
to an Arc<dyn Array>
, thereby finishing the mutation.
Self will be empty after such operation.Auto Trait Implementations§
impl Freeze for GrowableNull
impl RefUnwindSafe for GrowableNull
impl Send for GrowableNull
impl Sync for GrowableNull
impl Unpin for GrowableNull
impl UnwindSafe for GrowableNull
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