mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 06:30:20 +00:00
Add PartialEq to events::KeyCode
This commit is contained in:
parent
f905bb05ab
commit
5e16269532
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue