Struct conrod::input::state::mouse::Mouse
[−]
[src]
pub struct Mouse { pub buttons: ButtonMap, pub xy: Point, }
The state of the Mouse
, including it's position and button states.
Fields
A map that stores the up/down state of each button.
If the button is down, then it stores the position of the mouse when the button was first pressed.
xy: Point
The current position of the mouse.
Methods
impl Mouse
[src]
Trait Implementations
impl Copy for Mouse
[src]
impl Clone for Mouse
[src]
fn clone(&self) -> Mouse
[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
impl Debug for Mouse
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more