Struct polars::export::arrow::array::MutableNullArray
pub struct MutableNullArray { /* private fields */ }Expand description
A distinct type to disambiguate clashing methods
Implementations§
§impl MutableNullArray
impl MutableNullArray
pub fn new(data_type: DataType, length: usize) -> MutableNullArray
pub fn new(data_type: DataType, length: usize) -> MutableNullArray
Returns a new MutableNullArray.
Panics
This function errors iff:
- The
data_type’scrate::datatypes::PhysicalTypeis not equal tocrate::datatypes::PhysicalType::Null.
Trait Implementations§
§impl Debug for MutableNullArray
impl Debug for MutableNullArray
§impl From<MutableNullArray> for NullArray
impl From<MutableNullArray> for NullArray
§fn from(value: MutableNullArray) -> NullArray
fn from(value: MutableNullArray) -> NullArray
Converts to this type from the input type.
§impl MutableArray for MutableNullArray
impl MutableArray for MutableNullArray
§fn validity(&self) -> Option<&MutableBitmap>
fn validity(&self) -> Option<&MutableBitmap>
The optional validity of the array.
§fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)
fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable
Any, to enable dynamic casting.§fn shrink_to_fit(&mut self)
fn shrink_to_fit(&mut self)
Shrink the array to fit its length.
Auto Trait Implementations§
impl RefUnwindSafe for MutableNullArray
impl Send for MutableNullArray
impl Sync for MutableNullArray
impl Unpin for MutableNullArray
impl UnwindSafe for MutableNullArray
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