[−][src]Struct blinds::Settings
The various options to pass to the Window and/or GL context
Fields
size: Vector2<f32>
The size of the window
cursor_icon: Option<CursorIcon>
If the cursor should be visible over the application, or if the cursor should be hidden
fullscreen: bool
If the application should be fullscreen
icon_path: Option<&'static str>
The icon on the window or the favicon on the tab
multisampling: Option<u16>
How many samples to do for MSAA
By default it is None; if it is Some, it should be a non-zero power of two
Does nothing on web currently
vsync: bool
Enable or disable vertical sync
Does nothing on web; defaults to true
resizable: bool
If the window can be resized by the user
Does nothing on web; defaults to false
title: &'static str
The title of your application
Trait Implementations
impl Clone for Settings
[src]
impl Default for Settings
[src]
impl PartialEq<Settings> for Settings
[src]
impl StructuralPartialEq for Settings
[src]
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,