pub enum HybridChunk {
Empty,
All,
Sparse(Vec<u16>),
Dense(Box<[u64]>),
}Expand description
A per-chunk selection state. Each chunk represents HYBRID_CHUNK_SIZE rows
(the final chunk may be partial — see HybridChunk::partial_size).
Variants§
Empty
0 hits in this chunk.
All
All chunk_len rows selected (where chunk_len is the partial-aware
row count for this chunk).
Sparse(Vec<u16>)
Sparse: chunk-local row indices in ascending order, range [0, chunk_len).
Dense(Box<[u64]>)
Dense: word-packed bitmap, length HYBRID_WORDS_PER_CHUNK. Tail bits
past chunk_len are zero.
Implementations§
Trait Implementations§
Source§impl Clone for HybridChunk
impl Clone for HybridChunk
Source§fn clone(&self) -> HybridChunk
fn clone(&self) -> HybridChunk
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HybridChunk
impl Debug for HybridChunk
Source§impl PartialEq for HybridChunk
impl PartialEq for HybridChunk
Source§fn eq(&self, other: &HybridChunk) -> bool
fn eq(&self, other: &HybridChunk) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for HybridChunk
impl StructuralPartialEq for HybridChunk
Auto Trait Implementations§
impl Freeze for HybridChunk
impl RefUnwindSafe for HybridChunk
impl Send for HybridChunk
impl Sync for HybridChunk
impl Unpin for HybridChunk
impl UnsafeUnpin for HybridChunk
impl UnwindSafe for HybridChunk
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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