Trait relm4::shared_state::Reducible
source · 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
.