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

ASCII character for key pressed (if applicable).

Key pressed. See enums::Key.

Modifier key bitflags. See enums::flags::modifier_key.

Trait Implementations

impl Copy for KeyCode
[src]

impl Clone for KeyCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for KeyCode
[src]

Formats the value using the given formatter.