Struct tcod::input::Mouse
[−]
[src]
pub struct Mouse { pub x: isize, pub y: isize, pub dx: isize, pub dy: isize, pub cx: isize, pub cy: isize, pub dcx: isize, pub dcy: isize, pub lbutton: bool, pub rbutton: bool, pub mbutton: bool, pub lbutton_pressed: bool, pub rbutton_pressed: bool, pub mbutton_pressed: bool, pub wheel_up: bool, pub wheel_down: bool, }
Fields
x: isize
y: isize
dx: isize
dy: isize
cx: isize
cy: isize
dcx: isize
dcy: isize
wheel_up: bool
wheel_down: bool
Trait Implementations
impl Copy for Mouse
[src]
impl Clone for Mouse
[src]
fn clone(&self) -> Mouse
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
impl PartialEq for Mouse
[src]
fn eq(&self, __arg_0: &Mouse) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Mouse) -> bool
This method tests for !=
.