Struct flo_draw::WindowProperties[][src]

pub struct WindowProperties {
    pub title: BindRef<String>,
    pub size: BindRef<(u64, u64)>,
    pub fullscreen: BindRef<bool>,
    pub has_decorations: BindRef<bool>,
    pub mouse_pointer: BindRef<MousePointer>,
}
Expand description

The window properties struct provides a copy of all of the bindings for a window, and is a good way to provide custom bindings (for example, if you want to be able to toggle the window betwen fullscreen and a normal display)

Fields

title: BindRef<String>size: BindRef<(u64, u64)>fullscreen: BindRef<bool>has_decorations: BindRef<bool>mouse_pointer: BindRef<MousePointer>

Implementations

Creates a clone of an object implementing the FloWindowProperties trait

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The title of the window Read more

The initial size of the window Read more

Set to true if the window should be fullscreen Read more

Set to true if the window should have decorations Read more

The mouse pointer to show for a window 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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. 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.