aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-07-15 19:24:57 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-07-15 19:24:57 +0200
commitc1ebb8cf310947d7771c51c4949acedb19c41ee0 (patch)
treeb0b348e66beace783644aa55d86df08e701c4938 /src
parent0e37f5f2d2b04540122340de65e795072c612091 (diff)
parent5af2d6e84cb764cb689e4fe2a97647d0c761f08c (diff)
downloadglutin-c1ebb8cf310947d7771c51c4949acedb19c41ee0.tar.gz
glutin-c1ebb8cf310947d7771c51c4949acedb19c41ee0.zip
Merge pull request #522 from TyOverby/patch-1
MouseScrollDelta implements PartialEq
Diffstat (limited to 'src')
-rw-r--r--src/events.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events.rs b/src/events.rs
index 2fcdc61..27ed8b7 100644
--- a/src/events.rs
+++ b/src/events.rs
@@ -99,7 +99,7 @@ pub enum MouseButton {
Other(u8),
}
-#[derive(Debug, Clone, Copy)]
+#[derive(Debug, Clone, Copy, PartialEq)]
pub enum MouseScrollDelta {
/// Amount in lines or rows to scroll in the horizontal
/// and vertical directions.