pub fn key_code(key: &Key) -> Option<KeyCode>
Converts a VirtualKeyCode from [winit] to an [iced] key code.
VirtualKeyCode
winit
iced