Struct arrow2::array::MutableBooleanArray[][src]

pub struct MutableBooleanArray { /* fields omitted */ }
Expand description

The mutable version of BooleanArray. See MutableArray for more details.

Implementations

Converts itself into an Array.

Getters

Returns its values.

Setters

Sets position index to value. Note that if it is the first time a null appears in this array, this initializes the validity bitmap (O(N)).

Panic

Panics iff index is larger than self.len().

From implementations

Creates a new MutableBooleanArray from an TrustedLen of bool.

Creates a new MutableBooleanArray from a slice of bool.

Creates a BooleanArray from an iterator of trusted length. Use this over BooleanArray::from_trusted_len_iter when the iterator is trusted len but this crate does not mark it as such.

Safety

The iterator must be TrustedLen. I.e. that size_hint().1 correctly reports its length.

Creates a BooleanArray from a TrustedLen.

Creates a BooleanArray from an falible iterator of trusted length.

Safety

The iterator must be TrustedLen. I.e. that size_hint().1 correctly reports its length.

Creates a BooleanArray from a TrustedLen.

Trait Implementations

Formats the value using the given formatter. Read more

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

Extends a collection with the contents of an iterator. Read more

🔬 This is a nightly-only experimental API. (extend_one)

Extends a collection with exactly one element.

🔬 This is a nightly-only experimental API. (extend_one)

Reserves capacity in a collection for the given number of additional elements. Read more

Performs the conversion.

Creates a value from an iterator. Read more

The length of the array.

The optional validity of the array.

Convert itself to an (immutable) 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.

Whether the array is empty.

Whether index is valid / set. Read more

This is infalible and is implemented for consistency with all other types

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.

Performs the conversion.

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.