From 5ce48523cded277b15d8e946865c9dbf5100cc08 Mon Sep 17 00:00:00 2001 From: Victor Koenders Date: Wed, 17 Aug 2016 20:42:45 +0200 Subject: [PATCH] Added a couple more PartialEq's --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index a10957d1..b3623cfc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -329,7 +329,7 @@ pub enum ReleaseBehavior { Flush, } -#[derive(Debug, Copy, Clone)] +#[derive(Debug, Copy, Clone, PartialEq)] pub enum MouseCursor { /// The platform-dependent default cursor. Default, @@ -386,7 +386,7 @@ pub enum MouseCursor { } /// Describes how glutin handles the cursor. -#[derive(Debug, Copy, Clone)] +#[derive(Debug, Copy, Clone, PartialEq)] pub enum CursorState { /// Normal cursor behavior. Normal,