Struct nannou::ui::input::state::mouse::Mouse [−][src]
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: [f64; 2]
The current position of the mouse.
Methods
impl Mouse
[src]
impl Mouse
Trait Implementations
impl Clone for Mouse
[src]
impl Clone for Mouse
fn clone(&self) -> Mouse
[src]
fn clone(&self) -> Mouse
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Mouse
[src]
impl Debug for Mouse
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for Mouse
[src]
impl Copy for Mouse
impl PartialEq<Mouse> for Mouse
[src]
impl PartialEq<Mouse> for Mouse