pub struct GenericRuntime { /* private fields */ }
Expand description

A windowed and event-driven kernel that can be used to render a scene on the primary GPU across Windows, MacOS, and Linux at this point in time.

Trait Implementations§

Runs the event loop for the GenericRuntime which takes ownership of all components, the windowing the render context, and anything else relevant to the runtime.

When the generic runtime starts, it will attach all of the components that have been added during the construction phase in the users code.

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.