pub enum QuantizerType {
Qt8bit,
Qt4bit,
Qt8bitUniform,
Qt4bitUniform,
QtFp16,
Qt8bitDirect,
Qt6bit,
}Variants§
Implementations§
Source§impl QuantizerType
impl QuantizerType
pub fn as_native(&self) -> FaissQuantizerType
Trait Implementations§
Source§impl Clone for QuantizerType
impl Clone for QuantizerType
Source§fn clone(&self) -> QuantizerType
fn clone(&self) -> QuantizerType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QuantizerType
Source§impl Debug for QuantizerType
impl Debug for QuantizerType
impl Eq for QuantizerType
Source§impl PartialEq for QuantizerType
impl PartialEq for QuantizerType
Source§fn eq(&self, other: &QuantizerType) -> bool
fn eq(&self, other: &QuantizerType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QuantizerType
Auto Trait Implementations§
impl Freeze for QuantizerType
impl RefUnwindSafe for QuantizerType
impl Send for QuantizerType
impl Sync for QuantizerType
impl Unpin for QuantizerType
impl UnsafeUnpin for QuantizerType
impl UnwindSafe for QuantizerType
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