Struct termbox::KeyEvent
[−]
[src]
pub struct KeyEvent { pub key: Key, pub ch: Option<char>, pub alt: bool, }
Fields
key: Key
Code for the key that was pressed by the user. See the keys
module.
ch: Option<char>
If the pressed key can be translated into a Unicode character, this contains the code point.
alt: bool
Trait Implementations
impl Clone for KeyEvent
[src]
fn clone(&self) -> KeyEvent
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