Struct droom_ui::callback::button::KeyStates [] [src]

pub struct KeyStates(_);

The state of mouse buttons and some keyboard buttons.

Methods

impl KeyStates
[src]

Whether this state have a SHIFT key pressed.

Whether this state have a CONTROL key pressed.

Whether this state have a ALT key pressed.

Whether this state have the system key pressed.

The system key in Windows is the Windows key and in Mac is the Apple key.

Whether this state have the specified button in the callback doubly pressed.

Whether this state have the left mouse button pressed.

Whether this state have the middle mouse button pressed.

Whether this state have the right mouse button pressed.

Whether this state have the additional mouse button 1 pressed.

Whether this state have the additional mouse button 2 pressed.

Trait Implementations

impl Debug for KeyStates
[src]

Formats the value using the given formatter.