pub struct Bm25Block {
pub last: u64,
pub max_frequency: u64,
pub min_length: u64,
}Expand description
The skip entry of the block that serves a cursor’s next posting.
Fields§
§last: u64The block’s last posting ordinal.
max_frequency: u64No posting in the block has a higher frequency.
min_length: u64No document in the block is shorter.
Trait Implementations§
impl Copy for Bm25Block
impl Eq for Bm25Block
impl StructuralPartialEq for Bm25Block
Auto Trait Implementations§
impl Forget for Bm25Block
impl Freeze for Bm25Block
impl Move for Bm25Block
impl RefUnwindSafe for Bm25Block
impl Send for Bm25Block
impl Sync for Bm25Block
impl Unpin for Bm25Block
impl UnsafeUnpin for Bm25Block
impl UnwindSafe for Bm25Block
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