Struct tuix::WindowDescription[]

pub struct WindowDescription {
Show 14 fields pub title: String, pub inner_size: WindowSize, pub min_inner_size: WindowSize, pub max_inner_size: Option<WindowSize>, pub position: Option<Position>, pub resizable: bool, pub maximized: bool, pub visible: bool, pub transparent: bool, pub decorations: bool, pub always_on_top: bool, pub icon: Option<Vec<u8, Global>>, pub icon_width: u32, pub icon_height: u32,
}
Expand description

Passed to the window to set various window properties

Fields

title: Stringinner_size: WindowSizemin_inner_size: WindowSizemax_inner_size: Option<WindowSize>position: Option<Position>resizable: boolmaximized: boolvisible: booltransparent: booldecorations: boolalways_on_top: boolicon: Option<Vec<u8, Global>>icon_width: u32icon_height: u32

Implementations

Trait Implementations

Returns the “default value” for a type. 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 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.