pub enum CompressedPostingIterator<'a> {
Bitpacked(BitpackedPostingIterator<'a>),
EliasFano(EliasFanoPostingIterator<'a>),
Roaring(RoaringPostingIterator<'a>),
}Expand description
Unified iterator over any posting list format
Variants§
Bitpacked(BitpackedPostingIterator<'a>)
EliasFano(EliasFanoPostingIterator<'a>)
Roaring(RoaringPostingIterator<'a>)
Implementations§
Source§impl<'a> CompressedPostingIterator<'a>
impl<'a> CompressedPostingIterator<'a>
Sourcepub fn is_exhausted(&self) -> bool
pub fn is_exhausted(&self) -> bool
Check if exhausted
Auto Trait Implementations§
impl<'a> Freeze for CompressedPostingIterator<'a>
impl<'a> RefUnwindSafe for CompressedPostingIterator<'a>
impl<'a> Send for CompressedPostingIterator<'a>
impl<'a> Sync for CompressedPostingIterator<'a>
impl<'a> Unpin for CompressedPostingIterator<'a>
impl<'a> UnwindSafe for CompressedPostingIterator<'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