#[non_exhaustive]#[repr(u32)]pub enum FaissQuantizerType {
QT_8bit = 0,
QT_4bit = 1,
QT_8bit_uniform = 2,
QT_4bit_uniform = 3,
QT_fp16 = 4,
QT_8bit_direct = 5,
QT_6bit = 6,
QT_bf16 = 7,
QT_8bit_direct_signed = 8,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
QT_8bit = 0
QT_4bit = 1
QT_8bit_uniform = 2
QT_4bit_uniform = 3
QT_fp16 = 4
QT_8bit_direct = 5
QT_6bit = 6
QT_bf16 = 7
QT_8bit_direct_signed = 8
Trait Implementations§
Source§impl Clone for FaissQuantizerType
impl Clone for FaissQuantizerType
Source§fn clone(&self) -> FaissQuantizerType
fn clone(&self) -> FaissQuantizerType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FaissQuantizerType
impl Debug for FaissQuantizerType
Source§impl Hash for FaissQuantizerType
impl Hash for FaissQuantizerType
Source§impl PartialEq for FaissQuantizerType
impl PartialEq for FaissQuantizerType
impl Copy for FaissQuantizerType
impl Eq for FaissQuantizerType
impl StructuralPartialEq for FaissQuantizerType
Auto Trait Implementations§
impl Freeze for FaissQuantizerType
impl RefUnwindSafe for FaissQuantizerType
impl Send for FaissQuantizerType
impl Sync for FaissQuantizerType
impl Unpin for FaissQuantizerType
impl UnsafeUnpin for FaissQuantizerType
impl UnwindSafe for FaissQuantizerType
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