Enum orbtk::event::Event
[−]
[src]
pub enum Event { Init, Mouse { point: Point, left_button: bool, middle_button: bool, right_button: bool, }, KeyPressed(KeyEvent), KeyReleased(KeyEvent), Scroll { x: i32, y: i32, }, Resize { width: u32, height: u32, }, Unknown, }
Variants
Init
Mouse
Fields of Mouse
point: Point | |
KeyPressed(KeyEvent)
KeyReleased(KeyEvent)
Scroll
Fields of Scroll
x: i32 | |
y: i32 |
Resize
Fields of Resize
width: u32 | |
height: u32 |
Unknown
Trait Implementations
impl Copy for Event
[src]
impl Clone for Event
[src]
fn clone(&self) -> Event
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more