Enum nannou::ElementState
[−]
pub enum ElementState { Pressed, Released, }
Describes the input state of a key.
Variants
Pressed
Released
Trait Implementations
impl Copy for ElementState
impl Hash for ElementState
impl Clone for ElementState
fn clone(&self) -> ElementState
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
impl Eq for ElementState
impl PartialEq<ElementState> for ElementState
fn eq(&self, __arg_0: &ElementState) -> 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[src]
This method tests for !=
.