Skip to main content

Crate aeth_window

Crate aeth_window 

Source
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§

DeviceEvent
Bundled winit device event with device id.
Manager
Manager of the window subsystem.
WakeUpEvent
Wake-up event generated by EventLoopProxy.wake_up().
Window
Managed window handle.

Traits§

AccessWinitActiveEventLoop
Trait to access winit::event_loop::ActiveEventLoop.
AccessWinitActiveEventLoopExt
Trait extension to forawrd winit::event_loop::ActiveEventLoop methods.
AccessWinitWindow
Trait to access to its internally owned winit::window::Window object.
AccessWinitWindowExt
Trait extension to forawrd winit::window::Window methods.

Functions§

manager
Obtain the window manager.

Attribute Macros§

forward_winit_active_event_loop_method
Forward method from winit::event_loop::ActiveEventLoop to an extension of AccessWinitActiveEventLoop trait.
forward_winit_window_method
Forward method from winit::window::Window to an extension of AccessWinitWindow trait.