Merge pull request #2741 from edwloef/click-kind-derive

derive PartialEq and Eq for `mouse::click::Kind`
This commit is contained in:
Héctor 2025-01-26 20:22:52 +01:00 committed by GitHub
commit 1dccd1e71f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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,