Crate wae Copy item path Source Blocker RAII struct to unblock the window when dropped. Signal Contains a value that will be available in the future. WaitForSignal Implementation of Future
to get the value from Signal
. Error Represents an error when run()
fails. Hook Provides method to be called by the runtime on a certain event. WindowHandler Encapsulates winit window with window-specific logic. WinitWindow Provides method to return winit properties. block Blocks all user inputs from deliver to win
. create_window You need to call register_window()
after this to receive events for the created window and
you should do it before the first await
otherwise you may miss some initial events. global Returns an object that was registered with register_global()
. push_hook Once a hook has been installed there is no way to remove it. raw_display_handle The returned handle will be valid until the event loop exited. register_global All objects will be destroyed before event loop exit. register_window Note that the runtime does not hold a strong reference to win
and it will automatically
be removed when the underlying winit window is destroyed. run Run the specified future to completion then return. spawn Panics spawn_blocker Spawn a new task and blocks all user inputs from deliver to target
while the task is still
alive. yield_now Yields execution back to the runtime to process pending events.