Added a couple more PartialEq's

This commit is contained in:
Victor Koenders 2016-08-17 20:42:45 +02:00
parent 9a26f29a36
commit 5ce48523cd

View file

@ -329,7 +329,7 @@ pub enum ReleaseBehavior {
Flush, Flush,
} }
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone, PartialEq)]
pub enum MouseCursor { pub enum MouseCursor {
/// The platform-dependent default cursor. /// The platform-dependent default cursor.
Default, Default,
@ -386,7 +386,7 @@ pub enum MouseCursor {
} }
/// Describes how glutin handles the cursor. /// Describes how glutin handles the cursor.
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone, PartialEq)]
pub enum CursorState { pub enum CursorState {
/// Normal cursor behavior. /// Normal cursor behavior.
Normal, Normal,