summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorLibravatar edwloef <edwin.frank.loeffler@gmail.com>2025-01-22 16:32:59 +0100
committerLibravatar edwloef <edwin.frank.loeffler@gmail.com>2025-01-22 16:32:59 +0100
commit3d64e6cd3cb57600b0c9867992283e08def26004 (patch)
treec63b220bc26411c3ff5f23452323b4a0a3e4403c /core/src
parent75a6f32a5ef49bb8e6d16506d84b07822a33c41b (diff)
downloadiced-3d64e6cd3cb57600b0c9867992283e08def26004.tar.gz
iced-3d64e6cd3cb57600b0c9867992283e08def26004.tar.bz2
iced-3d64e6cd3cb57600b0c9867992283e08def26004.zip
derive partialeq and eq for mouse::click::Kind
Diffstat (limited to 'core/src')
-rw-r--r--core/src/mouse/click.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/mouse/click.rs b/core/src/mouse/click.rs
index 0a373878..dd1c84cd 100644
--- a/core/src/mouse/click.rs
+++ b/core/src/mouse/click.rs
@@ -13,7 +13,7 @@ pub struct Click {
}
/// The kind of mouse click.
-#[derive(Debug, Clone, Copy)]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Kind {
/// A single click
Single,