pub trait Kernel<const D: usize>:
Debug
+ Clone
+ PartialEq
+ Default {
// Required method
fn compute(&self, x1: &RowVector<D>, x2: &RowVector<D>) -> f32;
}Expand description
Trait for kernel functions.
Required Methods§
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.