#![cfg(feature = "serde")] use serde::{Deserialize, Serialize}; use rio_winit_fork::dpi::{LogicalPosition, LogicalSize, PhysicalPosition, PhysicalSize}; use rio_winit_fork::event::{ElementState, MouseButton, MouseScrollDelta, TouchPhase}; use rio_winit_fork::keyboard::{Key, KeyCode, KeyLocation, ModifiersState, NamedKey, PhysicalKey}; use rio_winit_fork::window::CursorIcon; #[allow(dead_code)] fn needs_serde>() {} #[test] fn window_serde() { needs_serde::(); } #[test] fn events_serde() { needs_serde::(); needs_serde::(); needs_serde::(); needs_serde::(); needs_serde::(); needs_serde::(); needs_serde::(); needs_serde::(); needs_serde::(); needs_serde::(); } #[test] fn dpi_serde() { needs_serde::>(); needs_serde::>(); needs_serde::>(); needs_serde::>(); needs_serde::>(); }