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,
}
#[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,