Struct nannou::WindowBuilder[]

pub struct WindowBuilder {
    pub window: WindowAttributes,
    // some fields omitted
}

Object that allows you to build windows.

Fields

The attributes to use to create the window.

Methods

impl WindowBuilder

Initializes a new WindowBuilder with default values.

Requests the window to be of specific dimensions.

Width and height are in pixels.

Sets a minimum dimension size for the window

Width and height are in pixels.

Sets a maximum dimension size for the window

Width and height are in pixels.

Requests a specific title for the window.

Sets the window fullscreen state. None means a normal window, Some(MonitorId) means a fullscreen window on that specific monitor

Requests maximized mode.

Sets whether the window will be initially hidden or visible.

Sets whether the background of the window should be transparent.

Sets whether the window should have a border, a title bar, etc.

Enables multitouch.

Builds the window.

Error should be very rare and only occur in case of permission denied, incompatible system, out of memory, etc.

Trait Implementations

impl Clone for WindowBuilder

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl WindowBuilderExt for WindowBuilder

Auto Trait Implementations

impl !Send for WindowBuilder

impl !Sync for WindowBuilder