Struct polars_arrow::array::MutableNullArray  
source · pub struct MutableNullArray { /* private fields */ }Expand description
A distinct type to disambiguate clashing methods
Implementations§
source§impl MutableNullArray
 
impl MutableNullArray
sourcepub fn new(data_type: ArrowDataType, length: usize) -> Self
 
pub fn new(data_type: ArrowDataType, length: usize) -> Self
Returns a new MutableNullArray.
Panics
This function errors iff:
- The data_type’scrate::datatypes::PhysicalTypeis not equal tocrate::datatypes::PhysicalType::Null.
Trait Implementations§
source§impl Debug for MutableNullArray
 
impl Debug for MutableNullArray
source§impl From<MutableNullArray> for NullArray
 
impl From<MutableNullArray> for NullArray
source§fn from(value: MutableNullArray) -> Self
 
fn from(value: MutableNullArray) -> Self
Converts to this type from the input type.
source§impl MutableArray for MutableNullArray
 
impl MutableArray for MutableNullArray
source§fn data_type(&self) -> &ArrowDataType
 
fn data_type(&self) -> &ArrowDataType
The 
ArrowDataType of the array.source§fn validity(&self) -> Option<&MutableBitmap>
 
fn validity(&self) -> Option<&MutableBitmap>
The optional validity of the array.
source§fn as_mut_any(&mut self) -> &mut dyn Any
 
fn as_mut_any(&mut self) -> &mut dyn Any
Convert to mutable 
Any, to enable dynamic casting.source§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