Enum pc_keyboard::DecodedKey [−][src]
pub enum DecodedKey { RawKey(KeyCode), Unicode(char), }
Variants
RawKey(KeyCode)
Unicode(char)
Trait Implementations
impl Debug for DecodedKey
[src]
impl Debug for DecodedKey
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 DecodedKey
[src]
impl PartialEq for DecodedKey
fn eq(&self, other: &DecodedKey) -> bool
[src]
fn eq(&self, other: &DecodedKey) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DecodedKey) -> bool
[src]
fn ne(&self, other: &DecodedKey) -> bool
This method tests for !=
.
impl Eq for DecodedKey
[src]
impl Eq for DecodedKey
impl Copy for DecodedKey
[src]
impl Copy for DecodedKey
impl Clone for DecodedKey
[src]
impl Clone for DecodedKey
fn clone(&self) -> DecodedKey
[src]
fn clone(&self) -> DecodedKey
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for DecodedKey
impl Send for DecodedKey
impl Sync for DecodedKey
impl Sync for DecodedKey