pub struct GrowableList<'a, O> where
O: Offset, { /* private fields */ }
Implementations
sourceimpl<'a, O> GrowableList<'a, O> where
O: Offset,
impl<'a, O> GrowableList<'a, O> where
O: Offset,
sourcepub fn new(
arrays: Vec<&'a ListArray<O>, Global>,
use_validity: bool,
capacity: usize
) -> GrowableList<'a, O>
pub fn new(
arrays: Vec<&'a ListArray<O>, Global>,
use_validity: bool,
capacity: usize
) -> GrowableList<'a, O>
Creates a new GrowableList
bound to arrays
with a pre-allocated capacity
.
Panics
If arrays
is empty.
Trait Implementations
sourceimpl<'a, O> From<GrowableList<'a, O>> for ListArray<O> where
O: Offset,
impl<'a, O> From<GrowableList<'a, O>> for ListArray<O> where
O: Offset,
sourcefn from(val: GrowableList<'a, O>) -> ListArray<O>
fn from(val: GrowableList<'a, O>) -> ListArray<O>
Performs the conversion.
sourceimpl<'a, O> Growable<'a> for GrowableList<'a, O> where
O: Offset,
impl<'a, O> Growable<'a> for GrowableList<'a, O> where
O: Offset,
sourcefn extend_validity(&mut self, additional: usize)
fn extend_validity(&mut self, additional: usize)
Extends this Growable
with null elements, disregarding the bound arrays
Auto Trait Implementations
impl<'a, O> !RefUnwindSafe for GrowableList<'a, O>
impl<'a, O> !Send for GrowableList<'a, O>
impl<'a, O> !Sync for GrowableList<'a, O>
impl<'a, O> Unpin for GrowableList<'a, O> where
O: Unpin,
impl<'a, O> !UnwindSafe for GrowableList<'a, O>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more