Enum wai::InputEvent
[−]
[src]
pub enum InputEvent { Motion { axis: AxisID, value: f64, }, ButtonPress { button: ButtonID, }, ButtonRelease { button: ButtonID, }, KeyPress { keycode: Keycode, keysym: Keysym, text: String, }, KeyRelease { keycode: Keycode, keysym: Keysym, }, }
Variants
Motion
Fields of Motion
axis: AxisID | |
value: f64 |
ButtonPress
Fields of ButtonPress
ButtonRelease
Fields of ButtonRelease
KeyPress
Fields of KeyPress
keycode: Keycode | |
keysym: Keysym | |
text: String |
KeyRelease
Fields of KeyRelease
keycode: Keycode | |
keysym: Keysym |
Trait Implementations
impl Debug for InputEvent
[src]
impl Clone for InputEvent
[src]
fn clone(&self) -> InputEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more