pub struct GrowableUnion<'a> { /* private fields */ }
Expand description
Concrete Growable
for the UnionArray
.
Implementations
sourceimpl<'a> GrowableUnion<'a>
impl<'a> GrowableUnion<'a>
sourcepub fn new(arrays: Vec<&'a UnionArray>, capacity: usize) -> Self
pub fn new(arrays: Vec<&'a UnionArray>, capacity: usize) -> Self
Creates a new GrowableUnion
bound to arrays
with a pre-allocated capacity
.
Panics
Panics iff
arrays
is empty.- any of the arrays has a different
Trait Implementations
sourceimpl<'a> From<GrowableUnion<'a>> for UnionArray
impl<'a> From<GrowableUnion<'a>> for UnionArray
sourcefn from(val: GrowableUnion<'a>) -> Self
fn from(val: GrowableUnion<'a>) -> Self
Performs the conversion.
sourceimpl<'a> Growable<'a> for GrowableUnion<'a>
impl<'a> Growable<'a> for GrowableUnion<'a>
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> !RefUnwindSafe for GrowableUnion<'a>
impl<'a> !Send for GrowableUnion<'a>
impl<'a> !Sync for GrowableUnion<'a>
impl<'a> Unpin for GrowableUnion<'a>
impl<'a> !UnwindSafe for GrowableUnion<'a>
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