pub struct Turbo4Query {
pub blob: Vec<u8>,
pub rotated: Vec<f32>,
pub norm_sq: f32,
}Expand description
A prepared query: the persisted-format blob plus the exact rotated f32 coordinates for final rescoring.
Fields§
§blob: Vec<u8>[D i8 | qscale | ‖q‖²] — feed this to the traversal scorer.
rotated: Vec<f32>Exact rotated query, for rescore (never persisted).
norm_sq: f32Exact squared norm of the query.
Auto Trait Implementations§
impl Freeze for Turbo4Query
impl RefUnwindSafe for Turbo4Query
impl Send for Turbo4Query
impl Sync for Turbo4Query
impl Unpin for Turbo4Query
impl UnsafeUnpin for Turbo4Query
impl UnwindSafe for Turbo4Query
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