Struct quicksilver::input::Mouse
[−]
[src]
pub struct Mouse { pub pos: Vector, pub left: ButtonState, pub right: ButtonState, pub middle: ButtonState, }
A simple mosue cursor abstraction
Fields
pos: Vector
The location of the cursor in the viewport space
left: ButtonState
The state of the left mouse button
right: ButtonState
The state of the right mouse button
middle: ButtonState
The state of the middle mouse button
Trait Implementations
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