Trait Measure

Source
pub trait Measure:
    Default
    + Clone
    + PartialEq
    + Debug
    + Send
    + Sync {
    type Distance;
}
Expand description

A representation of the distance between two distributions.

§Proof Definition

A type Self has an implementation for Measure iff it can represent a measure for quantifying distances between distributions.

Required Associated Types§

Source

type Distance

§Proof Definition

Self::Distance is a type that represents distances in terms of a measure Self.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§