Expand description
Cleanroom Rust port of upstream Go source file: key.go
Upstream Target Tag / Version: v2.0.8
Key structures (Key, KeyPressMsg, KeyReleaseMsg), modifiers (KeyMod), and key symbol constants.
Structs§
- Key
- Key represents a Key press or release event in v2.0.8.
- KeyMod
- KeyMod bitflags representing modifier keys (ctrl, alt, shift, meta, hyper, super).
- KeyPress
Msg - KeyPressMsg represents a key press message.
- KeyRelease
Msg - KeyReleaseMsg represents a key release message.
Enums§
- KeyMsg
- KeyMsg trait/enum abstraction covering KeyPressMsg and KeyReleaseMsg.
Constants§
- KEY_
BACKSPACE - KeyBackspace symbol.
- KEY_
DOWN - KeyDown symbol.
- KEY_END
- KeyEnd symbol.
- KEY_
ENTER - KeyEnter symbol.
- KEY_
ESCAPE - KeyEscape symbol.
- KEY_
HOME - KeyHome symbol.
- KEY_
LEFT - KeyLeft symbol.
- KEY_
PG_ DOWN - KeyPgDown symbol.
- KEY_
PG_ UP - KeyPgUp symbol.
- KEY_
RIGHT - KeyRight symbol.
- KEY_
SPACE - KeySpace symbol.
- KEY_TAB
- KeyTab symbol.
- KEY_UP
- Special key symbols.