winit-core: move event
This commit is contained in:
parent
056421546a
commit
79fa4061cb
11 changed files with 46 additions and 36 deletions
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue