Implement Default for MouseCursor
This commit is contained in:
parent
4b86c2ff98
commit
bf74e6e7d4
1 changed files with 6 additions and 0 deletions
|
|
@ -22,3 +22,9 @@ pub enum MouseCursor {
|
|||
/// The cursor is over a text widget.
|
||||
Text,
|
||||
}
|
||||
|
||||
impl Default for MouseCursor {
|
||||
fn default() -> MouseCursor {
|
||||
MouseCursor::OutOfBounds
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue