Enum faiss::metric::MetricType
source · pub enum MetricType {
InnerProduct,
L2,
}
Expand description
Enumerate type describing the type of metric assumed by an index.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for MetricType
impl Clone for MetricType
source§fn clone(&self) -> MetricType
fn clone(&self) -> MetricType
Returns a copy 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 more