add impl for pointer

This commit is contained in:
Evan Simkowitz committed 2023-08-23 12:47:37 -04:00
1 parent cc3f60dd2f
commit 0e5600f2f4
4 files changed
+195 -81

No files matched your search

+2
View File
@@ -9,6 +9,8 @@ pub type MouseEvent = Event<MouseData>;
#[derive(Clone, Default, PartialEq, Eq)]
/// Data associated with a mouse event
pub struct MouseData {
/// Common data for all pointer/mouse events
#[cfg_attr(feature = "serialize", serde(flatten))]
point_data: PointData,
}