Merge pull request #804 from VictorKoenders/master

Added two more PartialEq's
This commit is contained in:
tomaka 2016-08-18 08:19:18 +02:00 committed by GitHub
commit 91dc80b968

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,