Implement Eq
and PartialEq
for MouseScrollUnit
(#5048)
This commit is contained in:
parent
8b27124a80
commit
5dbb178d5d
@ -56,7 +56,7 @@ pub struct MouseMotion {
|
|||||||
///
|
///
|
||||||
/// The value of the event can either be interpreted as the amount of lines or the amount of pixels
|
/// The value of the event can either be interpreted as the amount of lines or the amount of pixels
|
||||||
/// to scroll.
|
/// to scroll.
|
||||||
#[derive(Debug, Clone, Copy)]
|
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
|
||||||
pub enum MouseScrollUnit {
|
pub enum MouseScrollUnit {
|
||||||
/// The line scroll unit.
|
/// The line scroll unit.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user