Struct vst2::editor::KeyCode
[−]
[src]
pub struct KeyCode { pub character: char, pub key: Key, pub modifier: u8, }
A platform independent key code. Includes modifier keys.
Fields
character: char
ASCII character for key pressed (if applicable).
key: Key
Key pressed. See enums::Key
.
modifier: u8
Modifier key bitflags. See enums::flags::modifier_key
.
Trait Implementations
impl Copy for KeyCode
[src]
impl Clone for KeyCode
[src]
fn clone(&self) -> KeyCode
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