Struct termbox::MouseEvent
[−]
[src]
pub struct MouseEvent { pub button: MouseButton, pub x: Coord, pub y: Coord, }
Mouse events are disabled by default. Use Termbox::set_mouse_enabled
to enable them.
Fields
x: Coord
y: Coord
Trait Implementations
impl Clone for MouseEvent
[src]
fn clone(&self) -> MouseEvent
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