Enum EventHandler
pub enum EventHandler
Event handler
Variants
-
Simple(Cmd) unconditional command
-
Conditional(Box<dyn ConditionalEventHandler>) handler behaviour depends on input state
Trait Implementations
impl From<Cmd> for EventHandler
fn from(c: Cmd) -> Self