Struct pix_engine::core::window::WindowBuilder[][src]

pub struct WindowBuilder<'a> { /* fields omitted */ }
Expand description

WindowBuilder

Implementations

Creates a new WindowBuilder instance.

Set window dimensions.

Set a window title.

Position the window at the given (x, y) coordinates of the display.

Position the window in the center of the display.

Start window in fullscreen mode.

Allow window resizing.

Removes the window decoration.

Scales the window.

Set a window icon.

Create a new window from the WindowBuilder and return its id.

Returns Err if any options provided are invalid.

Trait Implementations

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

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.