Struct core_graphics::event::KeyCode
source · #[repr(C)]pub struct KeyCode;
Expand description
Key codes for keys that are independent of keyboard layout.
Implementations
sourceimpl KeyCode
impl KeyCode
pub const RETURN: CGKeyCode = 36u16
pub const TAB: CGKeyCode = 48u16
pub const SPACE: CGKeyCode = 49u16
pub const DELETE: CGKeyCode = 51u16
pub const ESCAPE: CGKeyCode = 53u16
pub const COMMAND: CGKeyCode = 55u16
pub const SHIFT: CGKeyCode = 56u16
pub const CAPS_LOCK: CGKeyCode = 57u16
pub const OPTION: CGKeyCode = 58u16
pub const CONTROL: CGKeyCode = 59u16
pub const RIGHT_COMMAND: CGKeyCode = 54u16
pub const RIGHT_SHIFT: CGKeyCode = 60u16
pub const RIGHT_OPTION: CGKeyCode = 61u16
pub const RIGHT_CONTROL: CGKeyCode = 62u16
pub const FUNCTION: CGKeyCode = 63u16
pub const VOLUME_UP: CGKeyCode = 72u16
pub const VOLUME_DOWN: CGKeyCode = 73u16
pub const MUTE: CGKeyCode = 74u16
pub const F1: CGKeyCode = 122u16
pub const F2: CGKeyCode = 120u16
pub const F3: CGKeyCode = 99u16
pub const F4: CGKeyCode = 118u16
pub const F5: CGKeyCode = 96u16
pub const F6: CGKeyCode = 97u16
pub const F7: CGKeyCode = 98u16
pub const F8: CGKeyCode = 100u16
pub const F9: CGKeyCode = 101u16
pub const F10: CGKeyCode = 109u16
pub const F11: CGKeyCode = 103u16
pub const F12: CGKeyCode = 111u16
pub const F13: CGKeyCode = 105u16
pub const F14: CGKeyCode = 107u16
pub const F15: CGKeyCode = 113u16
pub const F16: CGKeyCode = 106u16
pub const F17: CGKeyCode = 64u16
pub const F18: CGKeyCode = 79u16
pub const F19: CGKeyCode = 80u16
pub const F20: CGKeyCode = 90u16
pub const HELP: CGKeyCode = 114u16
pub const HOME: CGKeyCode = 115u16
pub const PAGE_UP: CGKeyCode = 116u16
pub const FORWARD_DELETE: CGKeyCode = 117u16
pub const END: CGKeyCode = 119u16
pub const PAGE_DOWN: CGKeyCode = 121u16
pub const LEFT_ARROW: CGKeyCode = 123u16
pub const RIGHT_ARROW: CGKeyCode = 124u16
pub const DOWN_ARROW: CGKeyCode = 125u16
pub const UP_ARROW: CGKeyCode = 126u16
Auto Trait Implementations
impl RefUnwindSafe for KeyCode
impl Send for KeyCode
impl Sync for KeyCode
impl Unpin for KeyCode
impl UnwindSafe for KeyCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more