mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 14:49:07 -04:00
winit-core: move event
This commit is contained in:
1278
winit-core/src/event.rs
Normal file
1278
winit-core/src/event.rs
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user