pub trait Naive {
type Output;
type Ty;
// Required methods
fn squared_distance(self, other: Self) -> Self::Output;
fn distance(self, other: Self) -> Self::Output;
}
Required Associated Types§
Required Methods§
fn squared_distance(self, other: Self) -> Self::Output
fn distance(self, other: Self) -> Self::Output
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.