pub trait Reducible {
    type Action;

    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

The action type of the reducer.

Required Methods

The reducer function.

Implementors