pub struct MutableDictionaryArray<K, M> where
    K: DictionaryKey,
    M: MutableArray,  { /* private fields */ }Expand description
A mutable, strong-typed version of DictionaryArray.
Implementations
impl<K, M> MutableDictionaryArray<K, M> where
    K: DictionaryKey,
    M: MutableArray + Default, 
impl<K, M> MutableDictionaryArray<K, M> where
    K: DictionaryKey,
    M: MutableArray + Default, 
pub fn new() -> MutableDictionaryArray<K, M>
pub fn new() -> MutableDictionaryArray<K, M>
Creates an empty MutableDictionaryArray.
impl<K, M> MutableDictionaryArray<K, M> where
    K: DictionaryKey,
    M: MutableArray, 
impl<K, M> MutableDictionaryArray<K, M> where
    K: DictionaryKey,
    M: MutableArray, 
pub fn try_push_valid<T>(&mut self, value: &T) -> Result<bool, ArrowError> where
    T: Hash, 
pub fn try_push_valid<T>(&mut self, value: &T) -> Result<bool, ArrowError> where
    T: Hash, 
Returns whether the value should be pushed to the values or not
pub fn push_null(&mut self)
pub fn push_null(&mut self)
pushes a null value
pub fn mut_values(&mut self) -> &mut M
pub fn mut_values(&mut self) -> &mut M
returns a mutable reference to the inner values.
pub fn into_arc(self) -> Arc<dyn Array + 'static>
pub fn into_arc(self) -> Arc<dyn Array + 'static>
converts itself into Arc<dyn Array>
pub fn into_box(self) -> Box<dyn Array + 'static, Global>
pub fn into_box(self) -> Box<dyn Array + 'static, Global>
converts itself into Box<dyn Array>
pub fn shrink_to_fit(&mut self)
pub fn shrink_to_fit(&mut self)
Shrinks the capacity of the MutableDictionaryArray to fit its current length.
Trait Implementations
impl<K, M> Debug for MutableDictionaryArray<K, M> where
    K: Debug + DictionaryKey,
    M: Debug + MutableArray, 
impl<K, M> Debug for MutableDictionaryArray<K, M> where
    K: Debug + DictionaryKey,
    M: Debug + MutableArray, 
impl<K, M> Default for MutableDictionaryArray<K, M> where
    K: DictionaryKey,
    M: MutableArray + Default, 
impl<K, M> Default for MutableDictionaryArray<K, M> where
    K: DictionaryKey,
    M: MutableArray + Default, 
fn default() -> MutableDictionaryArray<K, M>
fn default() -> MutableDictionaryArray<K, M>
Returns the “default value” for a type. Read more
impl<K, M> From<M> for MutableDictionaryArray<K, M> where
    K: DictionaryKey,
    M: MutableArray, 
impl<K, M> From<M> for MutableDictionaryArray<K, M> where
    K: DictionaryKey,
    M: MutableArray, 
fn from(values: M) -> MutableDictionaryArray<K, M>
fn from(values: M) -> MutableDictionaryArray<K, M>
Converts to this type from the input type.
impl<K, M> From<MutableDictionaryArray<K, M>> for DictionaryArray<K> where
    K: DictionaryKey,
    M: MutableArray, 
impl<K, M> From<MutableDictionaryArray<K, M>> for DictionaryArray<K> where
    K: DictionaryKey,
    M: MutableArray, 
fn from(other: MutableDictionaryArray<K, M>) -> DictionaryArray<K>
fn from(other: MutableDictionaryArray<K, M>) -> DictionaryArray<K>
Converts to this type from the input type.
impl<K, M> MutableArray for MutableDictionaryArray<K, M> where
    K: DictionaryKey,
    M: 'static + MutableArray, 
impl<K, M> MutableArray for MutableDictionaryArray<K, M> where
    K: DictionaryKey,
    M: 'static + MutableArray, 
fn validity(&self) -> Option<&MutableBitmap>
fn validity(&self) -> Option<&MutableBitmap>
The optional validity of the array.
fn as_arc(&mut self) -> Arc<dyn Array + 'static>
fn as_arc(&mut self) -> Arc<dyn Array + 'static>
Convert itself to an (immutable) atomically reference counted 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 push_null(&mut self)
fn push_null(&mut self)
Adds a new null element to the array.
fn shrink_to_fit(&mut self)
fn shrink_to_fit(&mut self)
Shrink the array to fit its length.
impl<K, M, T> TryExtend<Option<T>> for MutableDictionaryArray<K, M> where
    T: Hash,
    K: DictionaryKey,
    M: MutableArray + TryExtend<Option<T>>, 
impl<K, M, T> TryExtend<Option<T>> for MutableDictionaryArray<K, M> where
    T: Hash,
    K: DictionaryKey,
    M: MutableArray + TryExtend<Option<T>>, 
fn try_extend<II>(&mut self, iter: II) -> Result<(), ArrowError> where
    II: IntoIterator<Item = Option<T>>, 
fn try_extend<II>(&mut self, iter: II) -> Result<(), ArrowError> where
    II: IntoIterator<Item = Option<T>>, 
Fallible version of Extend::extend.
Auto Trait Implementations
impl<K, M> RefUnwindSafe for MutableDictionaryArray<K, M> where
    K: RefUnwindSafe,
    M: RefUnwindSafe, 
impl<K, M> Send for MutableDictionaryArray<K, M>
impl<K, M> Sync for MutableDictionaryArray<K, M>
impl<K, M> Unpin for MutableDictionaryArray<K, M> where
    K: Unpin,
    M: Unpin, 
impl<K, M> UnwindSafe for MutableDictionaryArray<K, M> where
    K: UnwindSafe,
    M: UnwindSafe, 
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more