Enum amethyst_input::ButtonState
[−]
[src]
pub enum ButtonState { Pressed(ChangeState), Released(ChangeState), }
Describes an input state for a button.
Variants
Pressed(ChangeState)
Button is pressed
Released(ChangeState)
Button is released
Trait Implementations
impl Eq for ButtonState
[src]
impl PartialEq for ButtonState
[src]
fn eq(&self, __arg_0: &ButtonState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ButtonState) -> bool
This method tests for !=
.
impl Debug for ButtonState
[src]
impl Copy for ButtonState
[src]
impl Clone for ButtonState
[src]
fn clone(&self) -> ButtonState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more