Struct polars_arrow::array::growable::GrowableBinaryViewArray
source · pub struct GrowableBinaryViewArray<'a, T: ViewType + ?Sized> { /* private fields */ }
Expand description
Concrete Growable
for the [BinaryArray
].
Implementations§
source§impl<'a, T: ViewType + ?Sized> GrowableBinaryViewArray<'a, T>
impl<'a, T: ViewType + ?Sized> GrowableBinaryViewArray<'a, T>
sourcepub fn new(
arrays: Vec<&'a BinaryViewArrayGeneric<T>>,
use_validity: bool,
capacity: usize,
) -> Self
pub fn new( arrays: Vec<&'a BinaryViewArrayGeneric<T>>, use_validity: bool, capacity: usize, ) -> Self
Creates a new GrowableBinaryViewArray
bound to arrays
with a pre-allocated capacity
.
§Panics
If arrays
is empty.
Trait Implementations§
source§impl<'a, T: ViewType + ?Sized> From<GrowableBinaryViewArray<'a, T>> for BinaryViewArrayGeneric<T>
impl<'a, T: ViewType + ?Sized> From<GrowableBinaryViewArray<'a, T>> for BinaryViewArrayGeneric<T>
source§fn from(val: GrowableBinaryViewArray<'a, T>) -> Self
fn from(val: GrowableBinaryViewArray<'a, T>) -> Self
Converts to this type from the input type.
source§impl<'a, T: ViewType + ?Sized> Growable<'a> for GrowableBinaryViewArray<'a, T>
impl<'a, T: ViewType + ?Sized> Growable<'a> for GrowableBinaryViewArray<'a, T>
source§unsafe fn extend_copies(
&mut self,
index: usize,
start: usize,
len: usize,
copies: usize,
)
unsafe fn extend_copies( &mut self, index: usize, start: usize, len: usize, copies: usize, )
Same as extend, except it repeats the extension
copies
times. Read moresource§fn extend_validity(&mut self, additional: usize)
fn extend_validity(&mut self, additional: usize)
Auto Trait Implementations§
impl<'a, T> Freeze for GrowableBinaryViewArray<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for GrowableBinaryViewArray<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for GrowableBinaryViewArray<'a, T>where
T: ?Sized,
impl<'a, T> Sync for GrowableBinaryViewArray<'a, T>where
T: ?Sized,
impl<'a, T> Unpin for GrowableBinaryViewArray<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for GrowableBinaryViewArray<'a, T>where
T: RefUnwindSafe + ?Sized,
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more