pub struct MutableFixedSizeListArray<M: MutableArray> { /* private fields */ }
Expand description

The mutable version of FixedSizeListArray.

Implementations

Creates a new MutableFixedSizeListArray from a MutableArray and size.

Creates a new MutableFixedSizeListArray from a MutableArray and size.

Creates a new MutableFixedSizeListArray from a MutableArray, DataType and size.

The inner values

The values as a mutable reference

Needs to be called when a valid value was extended to this array. This is a relatively low level function, prefer try_push when you can.

Reserves additional slots.

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

Trait Implementations

Formats the value using the given formatter. Read more

Converts to this type from the input type.

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.

Reserves additional slots to its capacity.

Shrink the array to fit its length.

Whether the array is empty.

Whether index is valid / set. Read more

Fallible version of Extend::extend.

Tries to push a new element.

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

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.