Expand description
Procedural macros for winit-main.
Re-exported by winit-main if winit-main is compiled with the proc
Attribute Macros§
- main
- Proc-macro around a “simulated main thread” function, which hijacks itself
with
winit_main::runand spawns the function body in a new thread with callbacks to communcate with the main thread.