Struct ggez::graphics::WindowMode
[−]
[src]
pub struct WindowMode { pub borderless: bool, pub fullscreen_type: FullscreenType, pub vsync: bool, pub min_dimensions: (u32, u32), pub max_dimensions: (u32, u32), }
A builder structure containing flags for defining window settings.
Fields
borderless: bool
fullscreen_type: FullscreenType
vsync: bool
min_dimensions: (u32, u32)
Minimum dimensions for resizable windows; (0, 0) means no limit
max_dimensions: (u32, u32)
Maximum dimensions for resizable windows; (0, 0) means no limit
Methods
impl WindowMode
[src]
fn borderless(self, borderless: bool) -> Self
fn fullscreen_type(self, fullscreen_type: FullscreenType) -> Self
fn vsync(self, vsync: bool) -> Self
fn min_dimensions(self, width: u32, height: u32) -> Self
fn max_dimensions(self, width: u32, height: u32) -> Self
Trait Implementations
impl Debug for WindowMode
[src]
impl Copy for WindowMode
[src]
impl Clone for WindowMode
[src]
fn clone(&self) -> WindowMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more