Enum quicksilver::input::ButtonState
[−]
[src]
pub enum ButtonState { Pressed, Held, Released, NotPressed, }
The current state of a button
Variants
Pressed
Held
Released
NotPressed
Methods
impl ButtonState
[src]
fn is_down(&self) -> bool
[src]
fn clear_temporary(&self) -> ButtonState
[src]
Trait Implementations
impl Clone for ButtonState
[src]
fn clone(&self) -> ButtonState
[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