Merge pull request #2741 from edwloef/click-kind-derive
derive PartialEq and Eq for `mouse::click::Kind`
This commit is contained in:
commit
1dccd1e71f
2 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue