pub trait Metric: Default + Clone + PartialEq + Debug + Send + Sync {
type Distance;
}
Expand description
A representation of the distance between two elements in a set.
§Proof Definition
A type Self
has an implementation for Metric
iff it can represent a metric for quantifying distances between values in a set.
Required Associated Types§
Object Safety§
This trait is not object safe.