pub struct WindowBuilder { /* private fields */ }

Implementations§

A new window builder will be 480x360 by default and have the name “Window”. After customizing the window with whatever properties your application needs, you can supply it an event loop to process the events that will be generated by the window.

The name to be displayed in the title bar of the window.

Specify the dimensions for the window (Defaults to 480 x 360).

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.