Enum orbtk::event::Event
[−]
[src]
pub enum Event { Init, Mouse { point: Point, left_button: bool, middle_button: bool, right_button: bool, }, Scroll { x: i32, y: i32, }, Text { c: char, }, Enter, Backspace, Delete, Home, End, UpArrow, DownArrow, LeftArrow, RightArrow, Resize { width: u32, height: u32, }, Unknown, }
Variants
Init
Mouse
Fields of Mouse
point: Point | |
Scroll
Fields of Scroll
x: i32 | |
y: i32 |
Text
Fields of Text
c: char |
Enter
Backspace
Delete
Home
End
UpArrow
DownArrow
LeftArrow
RightArrow
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
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