winit-core: move event

This commit is contained in:
Kirill Chibisov 2025-05-03 20:21:45 +09:00
parent 056421546a
commit 79fa4061cb
11 changed files with 46 additions and 36 deletions

1278
winit-core/src/event.rs Normal file

File diff suppressed because it is too large Load diff

View file

@ -286,8 +286,6 @@ pub struct AsyncRequestSerial {
}
impl AsyncRequestSerial {
// TODO(kchibisov): Remove `cfg` when the clipboard will be added.
#[allow(dead_code)]
pub fn get() -> Self {
static CURRENT_SERIAL: AtomicUsize = AtomicUsize::new(0);
// NOTE: We rely on wrap around here, while the user may just request

View file

@ -3,6 +3,7 @@ pub mod as_any;
pub mod cursor;
#[macro_use]
pub mod error;
pub mod event;
pub mod event_loop;
pub mod icon;
pub mod keyboard;