[][src]Struct orbtk_shell::WindowSettings

pub struct WindowSettings {
    pub title: String,
    pub borderless: bool,
    pub resizeable: bool,
    pub always_on_top: bool,
    pub position: (f64, f64),
    pub size: (f64, f64),
    pub fonts: HashMap<String, &'static [u8]>,
}

Contains settings of a window.

Fields

title: String

Title of the window.

borderless: bool

Is the window borderless / without decorations?

resizeable: bool

Is the window resizable?

always_on_top: bool

Will the window always shown on top of other windows.

position: (f64, f64)

The initial position of the window.

size: (f64, f64)

The initial size of the window.

fonts: HashMap<String, &'static [u8]>

List of fonts to register.

Trait Implementations

impl Clone for WindowSettings[src]

impl Debug for WindowSettings[src]

impl Default for WindowSettings[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,