mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 13:20:06 -04:00
Merge pull request #161 from torkleyy/repr
Set #[repr] of VirtualKeyCode to u32
This commit is contained in:
@@ -138,6 +138,7 @@ pub enum MouseScrollDelta {
|
||||
}
|
||||
|
||||
#[derive(Debug, Hash, PartialEq, Eq, Clone, Copy)]
|
||||
#[repr(u32)]
|
||||
pub enum VirtualKeyCode {
|
||||
/// The '1' key over the letters.
|
||||
Key1,
|
||||
|
||||
Reference in New Issue
Block a user