pub trait Control {
    fn is_focusable(&self) -> bool;
    fn handle_input(&mut self, key_event: KeyEvent);
    fn get_help(&self) -> Option<String>;
    fn get_text(&self) -> (String, Option<u16>);
    fn get_drawer(&self) -> Option<Vec<String>>;
    fn add_to_step(self, step: &mut CompoundStep);
}
Expand description

An element of a CompoundStep which may be a focusable input.

Required Methods

Implementors