From e95f5445a18deb48b535fa9c3cb00b46f5f4014c Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 27 Nov 2023 23:11:58 +0100 Subject: feat(glfw): add InputMode derives --- glfw/src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glfw/src/window.rs') 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 { -- cgit v1.2.3-18-g5258