expose all serialized events as public
This commit is contained in:
1 parent
b4ebf34595
commit
f7dff22552
15 files changed
+30
-15
No files matched your search
@@ -208,8 +208,9 @@ impl PointInteraction for PointerData {
|
||||
}
|
||||
|
||||
#[cfg(feature = "serialize")]
|
||||
/// A serialized version of PointerData
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
struct SerializedPointerData {
|
||||
pub struct SerializedPointerData {
|
||||
/// Common data for all pointer/mouse events
|
||||
#[serde(flatten)]
|
||||
point_data: crate::point_interaction::SerializedPointInteraction,
|
||||
|
||||
Reference in new issue
Block a user