pub trait FloatPoint<F: Float, const DIM: usize> {
// Required methods
fn squared_eucledian(&self, other: &Self) -> F;
fn distance_to_space(
&self,
min_bounds: &[F; DIM],
max_bounds: &[F; DIM],
) -> F;
}Required Methods§
fn squared_eucledian(&self, other: &Self) -> F
fn distance_to_space(&self, min_bounds: &[F; DIM], max_bounds: &[F; DIM]) -> F
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.