Trait vec_vp_tree::dist::KnownDist [] [src]

pub trait KnownDist: Sized {
    type DistFn: DistFn<Self> + Sized;
    fn dist_fn() -> Self::DistFn;
}

Trait describing a type where a default distance function is known.

Associated Types

The known distance function for Self.

Required Methods

Return an instance of DistFn.

Implementors