Add Hash to EventType
This commit is contained in:
parent
a6452d1858
commit
35ce250bf9
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
/// Event types supported by the device.
|
||||
///
|
||||
/// This is implemented as a newtype around the u16 "type" field of `libc::input_event`.
|
||||
#[derive(Copy, Clone, PartialEq, Eq)]
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub struct EventType(pub u16);
|
||||
|
||||
evdev_enum!(
|
||||
|
|
Loading…
Reference in a new issue