#[repr(C)]pub struct cuvsIvfSqIndexParams {
pub metric: cuvsDistanceType,
pub metric_arg: f32,
pub add_data_on_build: bool,
pub n_lists: u32,
pub kmeans_n_iters: u32,
pub max_train_points_per_cluster: u32,
pub conservative_memory_allocation: bool,
}Fields§
§metric: cuvsDistanceType§metric_arg: f32§add_data_on_build: bool§n_lists: u32§kmeans_n_iters: u32§max_train_points_per_cluster: u32§conservative_memory_allocation: boolTrait Implementations§
Source§impl Clone for cuvsIvfSqIndexParams
impl Clone for cuvsIvfSqIndexParams
Source§fn clone(&self) -> cuvsIvfSqIndexParams
fn clone(&self) -> cuvsIvfSqIndexParams
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 cuvsIvfSqIndexParams
Auto Trait Implementations§
impl Freeze for cuvsIvfSqIndexParams
impl RefUnwindSafe for cuvsIvfSqIndexParams
impl Send for cuvsIvfSqIndexParams
impl Sync for cuvsIvfSqIndexParams
impl Unpin for cuvsIvfSqIndexParams
impl UnsafeUnpin for cuvsIvfSqIndexParams
impl UnwindSafe for cuvsIvfSqIndexParams
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