pub trait AbstractKernel: Send + Sync {
// Required method
fn compute<T: CustomNumeric + Copy + Debug>(&self, x: T, y: T) -> T;
}Expand description
Trait for general kernels (both centrosymmetric and non-centrosymmetric)
This trait provides the basic interface for computing kernel values.
Centrosymmetric kernels implement ReducedKernel as well, which
provides additional optimizations.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".