pub struct MutableDictionaryArray<K: DictionaryKey, M: MutableArray> { /* private fields */ }
Expand description

A mutable, strong-typed version of DictionaryArray.

Implementations

Creates an empty MutableDictionaryArray.

Returns whether the value should be pushed to the values or not

pushes a null value

returns a mutable reference to the inner values.

returns a reference to the inner values.

converts itself into Arc<dyn Array>

converts itself into Box<dyn Array>

Shrinks the capacity of the MutableDictionaryArray to fit its current length.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Performs the conversion.

Performs the conversion.

The length of the array.

The optional validity of the array.

Convert itself to an (immutable) [‘Array’].

Convert itself to an (immutable) atomically reference counted Array.

The DataType of the array.

Convert to Any, to enable dynamic casting.

Convert to mutable Any, to enable dynamic casting.

Adds a new null element to the array.

Shrink the array to fit its length.

Whether the array is empty.

Whether index is valid / set. Read more

Fallible version of Extend::extend.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.