Enum pc_keyboard::KeyState [−][src]
pub enum KeyState { Up, Down, }
Variants
Up
Down
Trait Implementations
impl Debug for KeyState
[src]
impl Debug for KeyState
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for KeyState
[src]
impl PartialEq for KeyState
fn eq(&self, other: &KeyState) -> bool
[src]
fn eq(&self, other: &KeyState) -> 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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for KeyState
[src]
impl Eq for KeyState
impl Copy for KeyState
[src]
impl Copy for KeyState
impl Clone for KeyState
[src]
impl Clone for KeyState