Struct cuivre::input::KeyState[][src]

pub struct KeyState { /* fields omitted */ }

Represents the current state of a keyboard key or mouse button.

Methods

impl KeyState
[src]

Is the key currently held down?

Is the key currently up?

Did the key go from up to down this frame?

Did the key go from down to up this frame?

Auto Trait Implementations

impl Send for KeyState

impl Sync for KeyState