Struct radiant_rs::support::DisplayBuilder [] [src]

#[must_use]
pub struct DisplayBuilder { /* fields omitted */ }

A display builder.

Obtained from Display::builder().

Examples

let display = Display::builder().dimensions((640, 480)).vsync().title("Window!").build();

Methods

impl DisplayBuilder
[src]

[src]

Sets a width for the display.

[src]

Sets a height for the display.

[src]

Sets dimensions for the display.

[src]

Sets a title for the display.

[src]

Flags the display to be transparent.

[src]

Flags the display to be borderless.

[src]

Sets the monitor to create the display on.

[src]

Flags the display to use vsync.

[src]

Flags the display to be initialially hidden.

[src]

Returns the constructed display instance.

Trait Implementations

impl Clone for DisplayBuilder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more