InputDevice

Trait InputDevice 

Source
pub trait InputDevice {
    // Required method
    fn read(&mut self) -> Result<Event>;
}
Expand description

An input device to use for controlling a form.

Required Methods§

Source

fn read(&mut self) -> Result<Event>

Blocks until an input event is received.

Implementors§