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

The location of the cursor in the viewport space

The state of the left mouse button

The state of the right mouse button

The state of the middle mouse button

Trait Implementations

impl Clone for Mouse
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Mouse
[src]

[src]

Formats the value using the given formatter.

impl Eq for Mouse
[src]

impl PartialEq for Mouse
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.