Enum rustyline::EventHandler [−][src]
pub enum EventHandler { Simple(Cmd), Conditional(Box<dyn ConditionalEventHandler>), }
Expand description
Event handler
Variants
unconditional command
Tuple Fields of Simple
0: Cmd
handler behaviour depends on input state
Tuple Fields of Conditional
0: Box<dyn ConditionalEventHandler>
Trait Implementations
Performs the conversion.