Struct arrow2::array::growable::GrowableBoolean
source · pub struct GrowableBoolean<'a> { /* private fields */ }
Expand description
Concrete Growable
for the BooleanArray
.
Implementations§
source§impl<'a> GrowableBoolean<'a>
impl<'a> GrowableBoolean<'a>
sourcepub fn new(
arrays: Vec<&'a BooleanArray>,
use_validity: bool,
capacity: usize
) -> Self
pub fn new( arrays: Vec<&'a BooleanArray>, use_validity: bool, capacity: usize ) -> Self
Creates a new GrowableBoolean
bound to arrays
with a pre-allocated capacity
.
§Panics
If arrays
is empty.
Trait Implementations§
source§impl<'a> From<GrowableBoolean<'a>> for BooleanArray
impl<'a> From<GrowableBoolean<'a>> for BooleanArray
source§fn from(val: GrowableBoolean<'a>) -> Self
fn from(val: GrowableBoolean<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> Growable<'a> for GrowableBoolean<'a>
impl<'a> Growable<'a> for GrowableBoolean<'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 GrowableBoolean<'a>
impl<'a> !RefUnwindSafe for GrowableBoolean<'a>
impl<'a> !Send for GrowableBoolean<'a>
impl<'a> !Sync for GrowableBoolean<'a>
impl<'a> Unpin for GrowableBoolean<'a>
impl<'a> !UnwindSafe for GrowableBoolean<'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