Skip to main content

aeth_window/
lib.rs

1//! The window subsystem.
2//!
3//! This is the window subsystem adapted for
4//! aeth-rs. It adapts [`winit`] to make it
5//! work with the async task framework, and
6//! drives the main UI loop. The user should
7//! refer to [`winit`] for more usage information.
8//!
9//! Please notice due to the implementation
10//! of certain platform (e.g. iOS), according
11//! to the [`winit`] authors, the event loop
12//! may be a point-of-no-return, so this will
13//! be the premise of designing this module.
14
15#[doc(hidden)]
16pub mod window;
17pub use window::Window;
18
19#[doc(hidden)]
20pub mod access_winit_active_event_loop;
21#[rustfmt::skip]
22pub use access_winit_active_event_loop::{
23    AccessWinitActiveEventLoop,
24    AccessWinitActiveEventLoopExt,
25    forward_winit_active_event_loop_method,
26};
27
28#[doc(hidden)]
29pub mod access_winit_window;
30#[rustfmt::skip]
31pub use access_winit_window::{
32    AccessWinitWindow,
33    AccessWinitWindowExt,
34    forward_winit_window_method,
35};
36
37#[doc(hidden)]
38pub mod manager;
39#[rustfmt::skip]
40pub use manager::{
41    Manager, manager,
42    WakeUpEvent, DeviceEvent,
43};
44
45pub mod subsystem;