mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-02 14:50:04 -04:00
Merge pull request #804 from VictorKoenders/master
Added two more PartialEq's
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user