Skip to main content

Crate dunge_winit

Crate dunge_winit 

Source

Re-exports§

pub use dunge;
pub use winit;

Modules§

prelude
The dunge prelude.

Structs§

Canvas
The HTML canvas for the web platform.
Control
Passed to the user function to control and interact with the event loop.
Redraw
An object for frame redrawing.
Timer
The timer type for await-ing for timings.
Window
A window within the running event loop.
WindowBuilder
The window builder returned from make_window method.

Enums§

Error
The event loop error type.

Traits§

DurationTimerExt
Extension trait for Duration type.
InstantTimerExt
Extension trait for Instant type.

Functions§

block_on
Runs the event loop on the current thread on desktop platform.
run
Runs an event loop on web.
try_block_on
Same as block_on, but allows returning a custom error type.
try_run
Same as run, but allows returning a custom error type.