pub trait Reducible {
type Action;
// Required method
fn reduce(self: Rc<Self>, action: Self::Action) -> Rc<Self>;
}Expand description
A trait that implements a reducer function of a type.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".