Expand description
The window subsystem.
This is the window subsystem adapted for
aeth-rs. It adapts winit to make it
work with the async task framework, and
drives the main UI loop. The user should
refer to winit for more usage information.
Please notice due to the implementation
of certain platform (e.g. iOS), according
to the winit authors, the event loop
may be a point-of-no-return, so this will
be the premise of designing this module.
Modules§
- subsystem
- Manipulation of the window subsystem itself.
Structs§
- Device
Event - Bundled winit device event with device id.
- Manager
- Manager of the window subsystem.
- Wake
UpEvent - Wake-up event generated by
EventLoopProxy.wake_up(). - Window
- Managed window handle.
Traits§
- Access
Winit Active Event Loop - Trait to access
winit::event_loop::ActiveEventLoop. - Access
Winit Active Event Loop Ext - Trait extension to forawrd
winit::event_loop::ActiveEventLoopmethods. - Access
Winit Window - Trait to access to its internally owned
winit::window::Windowobject. - Access
Winit Window Ext - Trait extension to forawrd
winit::window::Windowmethods.
Functions§
- manager
- Obtain the window manager.
Attribute Macros§
- forward_
winit_ active_ event_ loop_ method - Forward method from
winit::event_loop::ActiveEventLoopto an extension ofAccessWinitActiveEventLooptrait. - forward_
winit_ window_ method - Forward method from
winit::window::Windowto an extension ofAccessWinitWindowtrait.