pub struct MutableListArray<O: Offset, M: MutableArray> { /* private fields */ }
Expand description

The mutable version of ListArray.

Implementations

Creates a new empty MutableListArray.

Creates a new MutableListArray with a capacity.

Creates a new MutableListArray from a MutableArray and capacity.

Creates a new MutableListArray from a MutableArray.

Creates a new MutableListArray from a MutableArray and capacity.

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.

The values

The offsets

The values

Converts itself into an Array.

converts itself into Box<dyn Array>

Reserves additional slots.

Shrinks the capacity of the MutableListArray 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

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.