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