Eq for KeyEvent (#130)

This commit is contained in:
scauligi 2019-04-28 13:16:09 -07:00 committed by Timon
parent 34f3361640
commit 7880812bd0

View File

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