diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-07-15 19:24:57 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-07-15 19:24:57 +0200 |
commit | c1ebb8cf310947d7771c51c4949acedb19c41ee0 (patch) | |
tree | b0b348e66beace783644aa55d86df08e701c4938 | |
parent | 0e37f5f2d2b04540122340de65e795072c612091 (diff) | |
parent | 5af2d6e84cb764cb689e4fe2a97647d0c761f08c (diff) | |
download | glutin-c1ebb8cf310947d7771c51c4949acedb19c41ee0.tar.gz glutin-c1ebb8cf310947d7771c51c4949acedb19c41ee0.zip |
Merge pull request #522 from TyOverby/patch-1
MouseScrollDelta implements PartialEq
-rw-r--r-- | src/events.rs | 2 |
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. |