Struct blue_engine::definitions::WindowDescriptor[][src]

pub struct WindowDescriptor {
    pub width: f64,
    pub height: f64,
    pub title: &'static str,
    pub decorations: bool,
    pub resizable: bool,
}
Expand description

Descriptor and settings for a window.

Fields

width: f64

The width of the window

height: f64

The height of the window

title: &'static str

The title of the window

decorations: bool

Should the window contain the keys like minimize, maximize, or resize?

resizable: bool

Should the window be resizable

Implementations

Will quickly create a window with default settings

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 alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

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.