Egui::Hotkey
Inherits Struct < Value < Object
A key combo: modifiers plus a KeyCode. Canonical string form is
"Ctrl+Alt+Shift+Super+<Key>" (only the pressed parts shown), key
names matching the KeyCode members ("Ctrl+N", "F5",
"Ctrl+Shift+Z", "Ctrl+Space").
Constants
Parse-friendly aliases for named keys ("Esc" → Escape…).
Constructors
From live modifier state (e.g. what HotkeyEdit captured).
Strict parse — raises ArgumentError on an unknown key or combo (a typo'd default binding should fail loudly at startup).
Class methods
Display name of a bare key: digits render as the digit, named keys as the enum member ("Space", "F5", "Escape").
Modifier tokens (case-insensitive); "super" also parses under the cmd/win/meta spellings.
Instance methods
This hotkey was pressed this frame (key press + exact modifier state — "Ctrl+N" does not match Ctrl+Shift+N).