Struct three_d::window::WindowSettings [−][src]
pub struct WindowSettings {
pub title: String,
pub min_size: (u32, u32),
pub max_size: Option<(u32, u32)>,
pub vsync: bool,
pub multisamples: u8,
pub borderless: bool,
}Expand description
Window settings.
Fields
title: StringThe title of the window.
On web this has no effect.
min_size: (u32, u32)The minimum size of the window (width, height).
max_size: Option<(u32, u32)>The maximum size of the window (width, height). If None is specified, the window is maximized.
vsync: boolWhether VSync is enabled.
On web this has no effect since VSync is always on.
multisamples: u8Number of antialiasing samples.
On web, this can only be off (0) or on (>0). The actual number of samples depends on browser settings.
borderless: boolBorderless mode.
No effect on web.
Trait Implementations
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 RefUnwindSafe for WindowSettings
impl Send for WindowSettings
impl Sync for WindowSettings
impl Unpin for WindowSettings
impl UnwindSafe for WindowSettings
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
