Enum luminance_windowing::WindowDim [−][src]
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 betweenWindowed(width, height)
andFullscreen
. It opens in fullscreen mode by using the wished resolution.
Variants
Windowed(u32, u32)
Windowed mode.
Fullscreen
Fullscreen mode (adapt to your screen).
FullscreenRestricted(u32, u32)
Fullscreen mode with restricted viewport dimension.
Trait Implementations
impl Clone for WindowDim
[src]
impl Clone for WindowDim
fn clone(&self) -> WindowDim
[src]
fn clone(&self) -> WindowDim
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for WindowDim
[src]
impl Copy for WindowDim
impl Debug for WindowDim
[src]
impl Debug for WindowDim
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for WindowDim
[src]
impl Eq for WindowDim
impl PartialEq for WindowDim
[src]
impl PartialEq for WindowDim