pub struct IVFIndexParams {
pub nlist: usize,
pub nprobe: usize,
pub train_threshold: usize,
}Fields§
§nlist: usize§nprobe: usize§train_threshold: usizeImplementations§
Source§impl IVFIndexParams
impl IVFIndexParams
pub fn validate(self) -> StorageBackendResult<Self>
pub fn from_catalog_map( parameters: &BTreeMap<String, String>, ) -> StorageBackendResult<Self>
Trait Implementations§
Source§impl Clone for IVFIndexParams
impl Clone for IVFIndexParams
Source§fn clone(&self) -> IVFIndexParams
fn clone(&self) -> IVFIndexParams
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 IVFIndexParams
Source§impl Debug for IVFIndexParams
impl Debug for IVFIndexParams
Source§impl Default for IVFIndexParams
impl Default for IVFIndexParams
impl Eq for IVFIndexParams
Source§impl PartialEq for IVFIndexParams
impl PartialEq for IVFIndexParams
impl StructuralPartialEq for IVFIndexParams
Auto Trait Implementations§
impl Freeze for IVFIndexParams
impl RefUnwindSafe for IVFIndexParams
impl Send for IVFIndexParams
impl Sync for IVFIndexParams
impl Unpin for IVFIndexParams
impl UnsafeUnpin for IVFIndexParams
impl UnwindSafe for IVFIndexParams
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