Eq for KeyEvent (#130)
This commit is contained in:
parent
34f3361640
commit
7880812bd0
@ -91,7 +91,7 @@ pub enum MouseButton {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Enum with different key or key combinations.
|
/// Enum with different key or key combinations.
|
||||||
#[derive(Debug, PartialOrd, PartialEq)]
|
#[derive(Debug, PartialOrd, PartialEq, Eq)]
|
||||||
pub enum KeyEvent {
|
pub enum KeyEvent {
|
||||||
Backspace,
|
Backspace,
|
||||||
Left,
|
Left,
|
||||||
|
Loading…
Reference in New Issue
Block a user