aboutsummaryrefslogtreecommitdiffstats
path: root/src/events.rs
diff options
context:
space:
mode:
authorTy Overby <ty@pre-alpha.com>2015-07-15 09:37:15 -0700
committerTy Overby <ty@pre-alpha.com>2015-07-15 09:37:15 -0700
commit5af2d6e84cb764cb689e4fe2a97647d0c761f08c (patch)
treeb0b348e66beace783644aa55d86df08e701c4938 /src/events.rs
parent0e37f5f2d2b04540122340de65e795072c612091 (diff)
downloadglutin-5af2d6e84cb764cb689e4fe2a97647d0c761f08c.tar.gz
glutin-5af2d6e84cb764cb689e4fe2a97647d0c761f08c.zip
Update events.rs
Diffstat (limited to 'src/events.rs')
-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.