pub struct ListArray<O> {
pub validity: Option<Vec<u8>>,
pub offsets: Vec<O>,
pub meta: FieldMeta,
pub elements: Box<Array>,
}Expand description
An array of lists
The value element i is given by the pseudo code elements[offsets[i]..[offsets[i+1]]
The corresponding view is ListView.
Fields§
§validity: Option<Vec<u8>>The validity of the elements as a bitmap
offsets: Vec<O>The offsets of the elements
meta: FieldMetaThe metadata of the elements array
elements: Box<Array>The values stored in the array
Implementations§
Trait Implementations§
impl<O> StructuralPartialEq for ListArray<O>
Auto Trait Implementations§
impl<O> Freeze for ListArray<O>
impl<O> RefUnwindSafe for ListArray<O>where
O: RefUnwindSafe,
impl<O> Send for ListArray<O>where
O: Send,
impl<O> Sync for ListArray<O>where
O: Sync,
impl<O> Unpin for ListArray<O>where
O: Unpin,
impl<O> UnsafeUnpin for ListArray<O>
impl<O> UnwindSafe for ListArray<O>where
O: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more