#[repr(u8)]pub enum QuantType {
Scalar = 0,
Product = 1,
BinaryThreshold = 2,
ResidualPq = 3,
}Expand description
Identifies the quantization method stored in a QUANT_SEG.
Variants§
Scalar = 0
Scalar quantization (min-max per dimension).
Product = 1
Product quantization (codebook per subspace).
BinaryThreshold = 2
Binary threshold quantization (sign bit per dimension).
ResidualPq = 3
Residual product quantization.
Trait Implementations§
impl Copy for QuantType
impl Eq for QuantType
impl StructuralPartialEq for QuantType
Auto Trait Implementations§
impl Freeze for QuantType
impl RefUnwindSafe for QuantType
impl Send for QuantType
impl Sync for QuantType
impl Unpin for QuantType
impl UnwindSafe for QuantType
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