copy for KeyEvent (#148)

This commit is contained in:
scauligi 2019-06-06 09:01:40 -07:00 committed by Timon
parent 943d73458f
commit 859914a9ee

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, Eq)] #[derive(Debug, PartialOrd, PartialEq, Eq, Clone, Copy)]
pub enum KeyEvent { pub enum KeyEvent {
Backspace, Backspace,
Left, Left,