Add PartialEq to events::KeyCode

This commit is contained in:
Aleksei Zolotov 2022-04-23 16:21:07 +02:00
parent f905bb05ab
commit 5e16269532

View file

@ -611,7 +611,7 @@ pub mod on {
feature = "serialize",
derive(serde_repr::Serialize_repr, serde_repr::Deserialize_repr)
)]
#[derive(Clone, Copy, Debug)]
#[derive(Clone, Copy, Debug, PartialEq)]
#[repr(u8)]
pub enum KeyCode {
// That key has no keycode, = 0