pub struct IVFIndexParam {
pub metric: MetricType,
pub n_list: u32,
pub n_iters: u32,
pub use_soar: bool,
}Expand description
IVF build parameters.
Fields§
§metric: MetricType§n_list: u32§n_iters: u32§use_soar: boolTrait Implementations§
Source§impl Clone for IVFIndexParam
impl Clone for IVFIndexParam
Source§impl Debug for IVFIndexParam
impl Debug for IVFIndexParam
Source§impl<'de> Deserialize<'de> for IVFIndexParam
impl<'de> Deserialize<'de> for IVFIndexParam
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IVFIndexParam
impl PartialEq for IVFIndexParam
Source§impl Serialize for IVFIndexParam
impl Serialize for IVFIndexParam
impl StructuralPartialEq for IVFIndexParam
Auto Trait Implementations§
impl Freeze for IVFIndexParam
impl RefUnwindSafe for IVFIndexParam
impl Send for IVFIndexParam
impl Sync for IVFIndexParam
impl Unpin for IVFIndexParam
impl UnsafeUnpin for IVFIndexParam
impl UnwindSafe for IVFIndexParam
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more