diff options
-rw-r--r-- | glfw/src/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glfw/src/window.rs b/glfw/src/window.rs index 8059cea..a9512d6 100644 --- a/glfw/src/window.rs +++ b/glfw/src/window.rs @@ -433,7 +433,7 @@ pub enum CursorMode enum_from_repr!( #[repr(i32)] - #[derive(Debug, Clone, Copy)] + #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub enum Key { // Unknown = crate::ffi::GLFW_KEY_UNKNOWN, |