diff options
author | HampusM <hampus@hampusmat.com> | 2023-11-27 23:11:58 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-11-27 23:11:58 +0100 |
commit | e95f5445a18deb48b535fa9c3cb00b46f5f4014c (patch) | |
tree | 9bf59540bcd38a86093449d08e8b2a2ffcb69efc /glfw | |
parent | c9a08e77dded7dd6c1013f14f19316f755b6a5e8 (diff) |
feat(glfw): add InputMode derives
Diffstat (limited to 'glfw')
-rw-r--r-- | glfw/src/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glfw/src/window.rs b/glfw/src/window.rs index b1c94a2..3926cce 100644 --- a/glfw/src/window.rs +++ b/glfw/src/window.rs @@ -361,7 +361,7 @@ pub struct Size pub height: u32, } -#[derive(Debug, Clone, Copy)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] #[repr(i32)] pub enum InputMode { |