pub struct VarBinBuilder<O: NativePType> { /* private fields */ }
Implementations§
Source§impl<O: NativePType + PrimInt> VarBinBuilder<O>
impl<O: NativePType + PrimInt> VarBinBuilder<O>
pub fn new() -> Self
pub fn with_capacity(len: usize) -> Self
pub fn append(&mut self, value: Option<&[u8]>)
pub fn append_value(&mut self, value: impl AsRef<[u8]>)
pub fn append_null(&mut self)
pub fn append_n_nulls(&mut self, n: usize)
pub fn append_values(
&mut self,
values: &[u8],
end_offsets: impl Iterator<Item = O>,
num: usize,
)where
O: 'static,
usize: AsPrimitive<O>,
pub fn finish(self, dtype: DType) -> VarBinArray
Trait Implementations§
Source§impl<O: NativePType + PrimInt> Default for VarBinBuilder<O>
impl<O: NativePType + PrimInt> Default for VarBinBuilder<O>
Auto Trait Implementations§
impl<O> Freeze for VarBinBuilder<O>
impl<O> RefUnwindSafe for VarBinBuilder<O>
impl<O> Send for VarBinBuilder<O>
impl<O> Sync for VarBinBuilder<O>
impl<O> Unpin for VarBinBuilder<O>where
O: Unpin,
impl<O> UnwindSafe for VarBinBuilder<O>where
O: UnwindSafe,
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