Trait opendp::core::MetricSpace

source ·
pub trait MetricSpace {
    // Required method
    fn check_space(&self) -> Fallible<()>;
}

Required Methods§

Implementations on Foreign Types§

source§

impl MetricSpace for (AtomDomain<String>, SymmetricDistance)

source§

impl<D: Domain> MetricSpace for (VectorDomain<D>, ChangeOneDistance)

source§

impl<D: Domain> MetricSpace for (VectorDomain<D>, HammingDistance)

source§

impl<D: Domain> MetricSpace for (VectorDomain<D>, InsertDeleteDistance)

source§

impl<D: Domain> MetricSpace for (VectorDomain<D>, SymmetricDistance)

source§

impl<K, V: CheckAtom, const P: usize, Q> MetricSpace for (MapDomain<AtomDomain<K>, AtomDomain<V>>, LpDistance<P, Q>)
where K: Eq + Hash + CheckAtom,

source§

impl<K: Hashable> MetricSpace for (DataFrameDomain<K>, InsertDeleteDistance)

source§

impl<K: Hashable> MetricSpace for (DataFrameDomain<K>, SymmetricDistance)

source§

impl<M: Metric> MetricSpace for (AnyDomain, M)

source§

impl<T: CheckAtom> MetricSpace for (AtomDomain<T>, DiscreteDistance)

source§

impl<T: CheckAtom> MetricSpace for (VectorDomain<AtomDomain<T>>, LInfDistance<T>)

source§

impl<T: CheckAtom> MetricSpace for (VectorDomain<AtomDomain<T>>, PartitionDistance<AbsoluteDistance<T>>)

source§

impl<T: CheckAtom, Q> MetricSpace for (AtomDomain<T>, AbsoluteDistance<Q>)

source§

impl<T: CheckAtom, const P: usize, Q> MetricSpace for (VectorDomain<AtomDomain<T>>, LpDistance<P, Q>)

Implementors§