Struct vortex_array::array::builder::VarBinBuilder
source · pub struct VarBinBuilder<O> { /* 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 push(&mut self, value: Option<&[u8]>)
pub fn push_value(&mut self, value: impl AsRef<[u8]>)
pub fn push_null(&mut self)
pub fn push_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§
Auto Trait Implementations§
impl<O> Freeze for VarBinBuilder<O>
impl<O> RefUnwindSafe for VarBinBuilder<O>where
O: RefUnwindSafe,
impl<O> Send for VarBinBuilder<O>where
O: Send,
impl<O> Sync for VarBinBuilder<O>where
O: Sync,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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