summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-10-11 23:30:53 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-10-11 23:30:53 +0200
commita031a6f2130b3913a2419e4cea859c22aa388213 (patch)
treeafa21d830b0c2eefc7f4e083c33d13c5b462c137 /native
parent8846a239cf14edd464b1d09f6d6d57ad9b5c9fc7 (diff)
downloadiced-a031a6f2130b3913a2419e4cea859c22aa388213.tar.gz
iced-a031a6f2130b3913a2419e4cea859c22aa388213.tar.bz2
iced-a031a6f2130b3913a2419e4cea859c22aa388213.zip
Handle mouse cursor in `iced_wgpu`
Diffstat (limited to 'native')
-rw-r--r--native/src/mouse_cursor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/mouse_cursor.rs b/native/src/mouse_cursor.rs
index f6a68c54..291e57a6 100644
--- a/native/src/mouse_cursor.rs
+++ b/native/src/mouse_cursor.rs
@@ -1,5 +1,5 @@
/// The state of the mouse cursor.
-#[derive(Debug, Eq, PartialEq, Clone, Copy)]
+#[derive(Debug, Eq, PartialEq, Clone, Copy, PartialOrd, Ord)]
pub enum MouseCursor {
/// The cursor is out of the bounds of the user interface.
OutOfBounds,