Macro relm4::new_stateful_action
source · macro_rules! new_stateful_action { ($vis:vis $ty:ident, $group:ty, $name:expr, $value:ty, $state:ty) => { ... }; }
Expand description
Create a new type that implements ActionName
with state and target type.
The state stores the state of this action and the target type is passed by callers of the action.