[−][src]Struct fae::window::WindowSettings
Defines a window.
Fields
title: String
Title of the window. Default value: Name of the executable file
width: f32
Width of the window in logical pixels. Default value: 640.0
height: f32
Height of the window in logical pixels. Default value: 480.0
is_dialog: bool
Whether or not the application is a dialog. Default value: true
This only affects x11 environments with the glutin
backend,
where it sets the window type to dialog. In tiling
environments,
like i3 and sway, this can cause the window to pop up as a
floating window, not a tiled one. This is useful for
applications that are supposed to be opened for very short
amounts of time.
vsync: bool
This should always be true for everything except benchmarks.
Trait Implementations
impl Default for WindowSettings
[src]
fn default() -> WindowSettings
[src]
Auto Trait Implementations
impl Send for WindowSettings
impl Sync for WindowSettings
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,