pub struct StructureBatchBuffer { /* private fields */ }Expand description
Finished structural columns whose backing allocations can be recycled.
The wrapper is deliberately not cloneable: a producer keeps exclusive access between leases, so resetting a recycled batch never copies columns.
Implementations§
Source§impl StructureBatchBuffer
impl StructureBatchBuffer
Sourcepub fn batch(&self) -> &StructureBatch
pub fn batch(&self) -> &StructureBatch
Borrows the finished immutable batch.
Sourcepub fn into_owned(self) -> StructureBatch
pub fn into_owned(self) -> StructureBatch
Extracts owned columns for a caller that explicitly materialises them.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StructureBatchBuffer
impl RefUnwindSafe for StructureBatchBuffer
impl Send for StructureBatchBuffer
impl Sync for StructureBatchBuffer
impl Unpin for StructureBatchBuffer
impl UnsafeUnpin for StructureBatchBuffer
impl UnwindSafe for StructureBatchBuffer
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