pub trait Peaker {
// Required methods
fn create() -> Self;
fn peak(&mut self, min_widths: &[usize], widths: &[usize]) -> Option<usize>;
}
Expand description
A strategy of width function. It determines the order how the function is applied.
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.