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

Trait Implementations

impl Copy for Mouse
[src]

impl Clone for Mouse
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Mouse
[src]

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

This method tests for !=.

impl Debug for Mouse
[src]

Formats the value using the given formatter.

impl Default for Mouse
[src]

Returns the "default value" for a type. Read more