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