derive partialeq and eq for mouse::click::Kind

This commit is contained in:
edwloef 2025-01-22 16:32:59 +01:00
parent 75a6f32a5e
commit 3d64e6cd3c
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -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,