Merge pull request #161 from torkleyy/repr

Set #[repr] of VirtualKeyCode to u32
This commit is contained in:
tomaka 2017-04-26 08:52:24 +02:00 committed by GitHub
commit 6c99546035

View file

@ -138,6 +138,7 @@ pub enum MouseScrollDelta {
} }
#[derive(Debug, Hash, PartialEq, Eq, Clone, Copy)] #[derive(Debug, Hash, PartialEq, Eq, Clone, Copy)]
#[repr(u32)]
pub enum VirtualKeyCode { pub enum VirtualKeyCode {
/// The '1' key over the letters. /// The '1' key over the letters.
Key1, Key1,