pub enum HybridInner<'a> {
Start,
AllRange {
base: u32,
next: u32,
end: u32,
},
Sparse {
base: u32,
iter: Iter<'a, u16>,
},
Dense {
base: u32,
words: &'a [u64],
wi: usize,
bits: u64,
chunk_len: usize,
},
}Expand description
Per-chunk iteration state.
Variants§
Start
About to advance to the next chunk.
AllRange
Iterating an All chunk: emit [next, end) plus chunk base.
Sparse
Iterating a sparse chunk’s index list.
Dense
Iterating a dense chunk’s word vector.
Auto Trait Implementations§
impl<'a> Freeze for HybridInner<'a>
impl<'a> RefUnwindSafe for HybridInner<'a>
impl<'a> Send for HybridInner<'a>
impl<'a> Sync for HybridInner<'a>
impl<'a> Unpin for HybridInner<'a>
impl<'a> UnsafeUnpin for HybridInner<'a>
impl<'a> UnwindSafe for HybridInner<'a>
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