Enum luminance_windowing::WindowDim[][src]

pub enum WindowDim {
    Windowed(u32u32),
    Fullscreen,
    FullscreenRestricted(u32u32),
}

Dimension metrics.

  • Windowed(width, height) opens in windowed mode with the wished resolution.
  • Fullscreen opens in fullscreen mode by using the primary monitor resolution.
  • FullscreenRestricted(width, height) is a mix between Windowed(width, height) and Fullscreen. It opens in fullscreen mode by using the wished resolution.

Variants

Windowed mode.

Fullscreen mode (adapt to your screen).

Fullscreen mode with restricted viewport dimension.

Trait Implementations

impl Clone for WindowDim
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for WindowDim
[src]

impl Debug for WindowDim
[src]

Formats the value using the given formatter. Read more

impl Eq for WindowDim
[src]

impl PartialEq for WindowDim
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for WindowDim

impl Sync for WindowDim