pub trait Reducible {
type Input;
// Required methods
fn init() -> Self;
fn reduce(&mut self, input: Self::Input) -> bool;
}Expand description
A trait that implements a reducer function.
For more information, see Reducer.
Required Associated Types§
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.