Struct lambda_platform::winit::Loop

source ·
pub struct Loop<E: 'static + Debug> { /* private fields */ }
Expand description

Loop wrapping for the winit event loop.

Implementations§

Create an event publisher for this Loop.

Returns the primary monitor for the current OS if detectable.

Get all monitors available on the system.

Gets the first available monitor or panics.

Uses the winit event loop to run forever

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.