pub struct Bm25Scratch { /* private fields */ }Expand description
Reusable query scratch: accumulator and top-k selection buffer. One per engine; after warm-up a query allocates nothing (the zero-alloc recall invariant).
Implementations§
Source§impl Bm25Scratch
impl Bm25Scratch
Trait Implementations§
Source§impl Debug for Bm25Scratch
impl Debug for Bm25Scratch
Source§impl Default for Bm25Scratch
impl Default for Bm25Scratch
Source§fn default() -> Bm25Scratch
fn default() -> Bm25Scratch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Bm25Scratch
impl RefUnwindSafe for Bm25Scratch
impl Send for Bm25Scratch
impl Sync for Bm25Scratch
impl Unpin for Bm25Scratch
impl UnsafeUnpin for Bm25Scratch
impl UnwindSafe for Bm25Scratch
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