Struct arrow2::array::growable::GrowableUnion
source · pub struct GrowableUnion<'a> { /* private fields */ }
Expand description
Concrete Growable
for the UnionArray
.
Implementations§
source§impl<'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§
source§impl<'a> From<GrowableUnion<'a>> for UnionArray
impl<'a> From<GrowableUnion<'a>> for UnionArray
source§fn from(val: GrowableUnion<'a>) -> Self
fn from(val: GrowableUnion<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> Growable<'a> for GrowableUnion<'a>
impl<'a> Growable<'a> for GrowableUnion<'a>
source§fn extend_validity(&mut self, _additional: usize)
fn extend_validity(&mut self, _additional: usize)
Extends this
Growable
with null elements, disregarding the bound arraysAuto Trait Implementations§
impl<'a> Freeze for GrowableUnion<'a>
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§
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