pub struct PQCode { /* private fields */ }Expand description
A compressed vector code from Product Quantization.
Each byte represents an index into the corresponding subspace codebook. For 256 centroids (default), this is one byte per segment.
Implementations§
Source§impl PQCode
impl PQCode
Trait Implementations§
impl Eq for PQCode
impl StructuralPartialEq for PQCode
Auto Trait Implementations§
impl Freeze for PQCode
impl RefUnwindSafe for PQCode
impl Send for PQCode
impl Sync for PQCode
impl Unpin for PQCode
impl UnwindSafe for PQCode
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