Enum amethyst_input::ChangeState
[−]
[src]
pub enum ChangeState { ThisFrame, Currently, }
Indicates when the ButtonState it is contained within changed
Variants
ThisFrame
Button was either pressed or released this frame.
Currently
Button was either pressed or released in any frame.
Trait Implementations
impl Eq for ChangeState
[src]
impl PartialEq for ChangeState
[src]
fn eq(&self, __arg_0: &ChangeState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Debug for ChangeState
[src]
impl Copy for ChangeState
[src]
impl Clone for ChangeState
[src]
fn clone(&self) -> ChangeState
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