pub struct EuclideanMetric;
Expand description
Euclidian distance metric.
Trait Implementations§
source§impl Clone for EuclideanMetric
impl Clone for EuclideanMetric
source§fn clone(&self) -> EuclideanMetric
fn clone(&self) -> EuclideanMetric
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 moresource§impl Debug for EuclideanMetric
impl Debug for EuclideanMetric
source§impl Default for EuclideanMetric
impl Default for EuclideanMetric
source§fn default() -> EuclideanMetric
fn default() -> EuclideanMetric
Returns the “default value” for a type. Read more
source§impl Hash for EuclideanMetric
impl Hash for EuclideanMetric
source§impl Ord for EuclideanMetric
impl Ord for EuclideanMetric
source§fn cmp(&self, other: &EuclideanMetric) -> Ordering
fn cmp(&self, other: &EuclideanMetric) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<EuclideanMetric> for EuclideanMetric
impl PartialEq<EuclideanMetric> for EuclideanMetric
source§fn eq(&self, other: &EuclideanMetric) -> bool
fn eq(&self, other: &EuclideanMetric) -> bool
source§impl PartialOrd<EuclideanMetric> for EuclideanMetric
impl PartialOrd<EuclideanMetric> for EuclideanMetric
source§fn partial_cmp(&self, other: &EuclideanMetric) -> Option<Ordering>
fn partial_cmp(&self, other: &EuclideanMetric) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more