summaryrefslogtreecommitdiff
path: root/glfw/src
diff options
context:
space:
mode:
Diffstat (limited to 'glfw/src')
-rw-r--r--glfw/src/window.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/glfw/src/window.rs b/glfw/src/window.rs
index 1c6fa5a..079b2fb 100644
--- a/glfw/src/window.rs
+++ b/glfw/src/window.rs
@@ -623,7 +623,7 @@ bitflags! {
enum_from_repr!(
#[repr(i32)]
- #[derive(Debug, Clone, Copy)]
+ #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum MouseButton
{
One = crate::ffi::GLFW_MOUSE_BUTTON_1,