1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/// Key mapping /// /// This is an incomplete mapping of keys that are supported for reading /// from the keyboard. #[derive(Copy, Clone, PartialEq, Eq, Debug)] pub enum Key { Unknown, ArrowLeft, ArrowRight, ArrowUp, ArrowDown, Enter, Escape, Char(char), #[doc(hidden)] __More, }