Trait requestty_ui::events::EventIterator
source · [−]pub trait EventIterator {
fn next_event(&mut self) -> Result<KeyEvent>;
}
Expand description
A trait to represent a source of KeyEvent
s.
Required Methods
sourcefn next_event(&mut self) -> Result<KeyEvent>
fn next_event(&mut self) -> Result<KeyEvent>
Get the next event