pub trait KernelType {
const NAME: &'static str;
const SUPPORTS_PARAMETER_LEARNING: bool;
const DEFAULT_BANDWIDTH: f64;
}Expand description
Phantom type to represent kernel types
Required Associated Constants§
Sourceconst SUPPORTS_PARAMETER_LEARNING: bool
const SUPPORTS_PARAMETER_LEARNING: bool
Whether this kernel type supports parameter learning
Sourceconst DEFAULT_BANDWIDTH: f64
const DEFAULT_BANDWIDTH: f64
Default bandwidth/gamma parameter
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.