Enum bevy::window::WindowCommand[]

pub enum WindowCommand {
    SetWindowMode {
        mode: WindowMode,
        resolution: (u32, u32),
    },
    SetTitle {
        title: String,
    },
    SetScaleFactor {
        scale_factor: f64,
    },
    SetResolution {
        logical_resolution: (f32, f32),
        scale_factor: f64,
    },
    SetVsync {
        vsync: bool,
    },
    SetResizable {
        resizable: bool,
    },
    SetDecorations {
        decorations: bool,
    },
    SetCursorLockMode {
        locked: bool,
    },
    SetCursorVisibility {
        visible: bool,
    },
    SetCursorPosition {
        position: Vec2,
    },
    SetMaximized {
        maximized: bool,
    },
    SetMinimized {
        minimized: bool,
    },
    SetPosition {
        position: IVec2,
    },
    SetResizeConstraints {
        resize_constraints: WindowResizeConstraints,
    },
}

Variants

SetWindowMode

Fields of SetWindowMode

mode: WindowModeresolution: (u32, u32)
SetTitle

Fields of SetTitle

title: String
SetScaleFactor

Fields of SetScaleFactor

scale_factor: f64
SetResolution

Fields of SetResolution

logical_resolution: (f32, f32)scale_factor: f64
SetVsync

Fields of SetVsync

vsync: bool
SetResizable

Fields of SetResizable

resizable: bool
SetDecorations

Fields of SetDecorations

decorations: bool
SetCursorLockMode

Fields of SetCursorLockMode

locked: bool
SetCursorVisibility

Fields of SetCursorVisibility

visible: bool
SetCursorPosition

Fields of SetCursorPosition

position: Vec2
SetMaximized

Fields of SetMaximized

maximized: bool
SetMinimized

Fields of SetMinimized

minimized: bool
SetPosition

Fields of SetPosition

position: IVec2
SetResizeConstraints

Fields of SetResizeConstraints

resize_constraints: WindowResizeConstraints

Trait Implementations

impl Debug for WindowCommand

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> Downcast for T where
    T: Any

impl<T> Downcast<T> for T

impl<T> DowncastSync for T where
    T: Any + Send + Sync

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

impl<T> Instrument for T[src]

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

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<T> Upcast<T> for T

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