pub struct ListArray { /* fields omitted */ }
A list array where each element is a variable-sized sequence of values with the same
type.
Returns an reference to the values of this list.
Returns a clone of the value type of this list.
Returns the offset for value at index i
.
Note this doesn't do any bound checking, for performance reason.
Returns the length for value at index i
.
Note this doesn't do any bound checking, for performance reason.
Returns the array as Any
so that it can be downcast to a specific implementation
Returns a reference-counted pointer to the data of this array
Returns a borrowed & reference-counted pointer to the data of this array
Returns a reference to the data type of this array
Returns the length (i.e., number of elements) of this array
Returns the offset of this array
Returns whether the element at index i
is null
Returns whether the element at index i
is not null
Returns the total number of nulls in this array
Constructs a ListArray
from an array data reference.
Creates a BinaryArray
from List<u8>
array
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static