Struct libnotcurses_sys::NcKey
source · #[repr(transparent)]pub struct NcKey(pub u32);
Expand description
A synthesized input event.
This means any input event we can report that isn’t representative of some Unicode. This covers both keyboard and mouse events, as well as signals and even window events.
See also PRETERUNICODEBASE
.
Tuple Fields§
§0: u32
Implementations§
source§impl NcKey
impl NcKey
§Constants
pub const Invalid: NcKey = _
pub const Up: NcKey = _
pub const Right: NcKey = _
pub const Down: NcKey = _
pub const Left: NcKey = _
pub const Ins: NcKey = _
pub const Del: NcKey = _
pub const Backspace: NcKey = _
pub const PgDown: NcKey = _
pub const PgUp: NcKey = _
pub const Home: NcKey = _
pub const End: NcKey = _
pub const F00: NcKey = _
pub const F01: NcKey = _
pub const F02: NcKey = _
pub const F03: NcKey = _
pub const F04: NcKey = _
pub const F05: NcKey = _
pub const F06: NcKey = _
pub const F07: NcKey = _
pub const F08: NcKey = _
pub const F09: NcKey = _
pub const F10: NcKey = _
pub const F11: NcKey = _
pub const F12: NcKey = _
pub const F13: NcKey = _
pub const F14: NcKey = _
pub const F15: NcKey = _
pub const F16: NcKey = _
pub const F17: NcKey = _
pub const F18: NcKey = _
pub const F19: NcKey = _
pub const F20: NcKey = _
pub const F21: NcKey = _
pub const F22: NcKey = _
pub const F23: NcKey = _
pub const F24: NcKey = _
pub const F25: NcKey = _
pub const F26: NcKey = _
pub const F27: NcKey = _
pub const F28: NcKey = _
pub const F29: NcKey = _
pub const F30: NcKey = _
pub const F31: NcKey = _
pub const F32: NcKey = _
pub const F33: NcKey = _
pub const F34: NcKey = _
pub const F35: NcKey = _
pub const F36: NcKey = _
pub const F37: NcKey = _
pub const F38: NcKey = _
pub const F39: NcKey = _
pub const F40: NcKey = _
pub const F41: NcKey = _
pub const F42: NcKey = _
pub const F43: NcKey = _
pub const F44: NcKey = _
pub const F45: NcKey = _
pub const F46: NcKey = _
pub const F47: NcKey = _
pub const F48: NcKey = _
pub const F49: NcKey = _
pub const F50: NcKey = _
pub const F51: NcKey = _
pub const F52: NcKey = _
pub const F53: NcKey = _
pub const F54: NcKey = _
pub const F55: NcKey = _
pub const F56: NcKey = _
pub const F57: NcKey = _
pub const F58: NcKey = _
pub const F59: NcKey = _
pub const F60: NcKey = _
pub const Enter: NcKey = _
pub const DRight: NcKey = _
pub const URight: NcKey = _
pub const Center: NcKey = _
pub const Begin: NcKey = _
pub const Cancel: NcKey = _
pub const Close: NcKey = _
pub const Command: NcKey = _
pub const Copy: NcKey = _
pub const Exit: NcKey = _
pub const Print: NcKey = _
pub const Refresh: NcKey = _
pub const CapsLock: NcKey = _
pub const ScrollLock: NcKey = _
pub const NumLock: NcKey = _
pub const PrintScreen: NcKey = _
pub const Pause: NcKey = _
pub const Menu: NcKey = _
pub const MediaPlay: NcKey = _
pub const MediaPause: NcKey = _
pub const MediaPPause: NcKey = _
pub const MediaRev: NcKey = _
pub const MediaStop: NcKey = _
pub const MediaFF: NcKey = _
pub const MediaRewind: NcKey = _
pub const MediaNext: NcKey = _
pub const MediaPrev: NcKey = _
pub const MediaRecord: NcKey = _
pub const MediaLVol: NcKey = _
pub const MediaRVol: NcKey = _
pub const MediaMute: NcKey = _
pub const LShift: NcKey = _
pub const LCtrl: NcKey = _
pub const LAlt: NcKey = _
pub const LSuper: NcKey = _
pub const LHyper: NcKey = _
pub const LMeta: NcKey = _
pub const RShift: NcKey = _
pub const RCtrl: NcKey = _
pub const RAlt: NcKey = _
pub const RSuper: NcKey = _
pub const RHyper: NcKey = _
pub const RMeta: NcKey = _
pub const L5Shift: NcKey = _
pub const Motion: NcKey = _
pub const Button1: NcKey = _
pub const Button2: NcKey = _
pub const Button3: NcKey = _
pub const Button6: NcKey = _
pub const Button7: NcKey = _
pub const Button8: NcKey = _
pub const Button9: NcKey = _
pub const Button10: NcKey = _
pub const Button11: NcKey = _
pub const Tab: NcKey = _
pub const Esc: NcKey = _
pub const Space: NcKey = _
source§impl NcKey
impl NcKey
§Methods
Trait Implementations§
source§impl PartialEq for NcKey
impl PartialEq for NcKey
impl Copy for NcKey
impl Eq for NcKey
impl StructuralPartialEq for NcKey
Auto Trait Implementations§
impl RefUnwindSafe for NcKey
impl Send for NcKey
impl Sync for NcKey
impl Unpin for NcKey
impl UnwindSafe for NcKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more