[][src]Enum luminance_windowing::WindowDim

pub enum WindowDim {
    Windowed {
        width: u32,
        height: u32,
    },
    Fullscreen,
    FullscreenRestricted {
        width: u32,
        height: u32,
    },
}

Dimension metrics.

Variants

Windowed

Windowed mode.

Fields of Windowed

width: u32

Width of the window.

height: u32

Height of the window.

Fullscreen

Fullscreen mode (using the primary monitor resolution, for instance).

FullscreenRestricted

Fullscreen mode with restricted viewport dimension..

Fields of FullscreenRestricted

width: u32

Width of the window.

height: u32

Height of the window.

Trait Implementations

impl Clone for WindowDim[src]

impl Copy for WindowDim[src]

impl Debug for WindowDim[src]

impl Eq for WindowDim[src]

impl PartialEq<WindowDim> for WindowDim[src]

impl StructuralEq for WindowDim[src]

impl StructuralPartialEq for WindowDim[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> 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.