pub struct BlockBound {
pub start: usize,
pub end: usize,
pub last_row: u32,
pub impact: BlockImpact,
pub max_score: f64,
}Expand description
One block’s bound over a run of (row, weighted tf) entries.
Fields§
§start: usizeIndex of the first entry the block covers.
end: usizeIndex one past the last entry the block covers.
last_row: u32Largest row id in the block; the skip key.
impact: BlockImpactThe block’s impact pair, as a sealed segment would store it.
max_score: f64Upper bound on any posting’s contribution under the live scorer.
Trait Implementations§
Source§impl Clone for BlockBound
impl Clone for BlockBound
impl Copy for BlockBound
Source§impl Debug for BlockBound
impl Debug for BlockBound
Source§impl PartialEq for BlockBound
impl PartialEq for BlockBound
impl StructuralPartialEq for BlockBound
Auto Trait Implementations§
impl Freeze for BlockBound
impl RefUnwindSafe for BlockBound
impl Send for BlockBound
impl Sync for BlockBound
impl Unpin for BlockBound
impl UnsafeUnpin for BlockBound
impl UnwindSafe for BlockBound
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