Handle mouse cursor in iced_wgpu

This commit is contained in:
Héctor Ramón Jiménez 2019-10-11 23:30:53 +02:00
parent 8846a239cf
commit a031a6f213
10 changed files with 104 additions and 67 deletions

View file

@ -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,