[−][src]Struct quicksilver::lifecycle::Settings
A builder that constructs a Window
Fields
show_cursor: bool
If the cursor should be visible over the application
min_size: Option<Vector>
The smallest size the user can resize the window to
Does nothing on web
max_size: Option<Vector>
The largest size the user can resize the window to
Does nothing on web
resize: ResizeStrategy
How content should be presented when the window is resized
scale: ImageScaleStrategy
How images should be scaled
fullscreen: bool
If the application should be fullscreen
update_rate: f64
How many milliseconds should elapse between update calls
max_updates: u32
The maximum number of updates to run in a single frame
See https://gafferongames.com/post/fix_your_timestep/ for an explanation of fixed timesteps
draw_rate: f64
How many milliseconds should elapse between draw calls
icon_path: Option<&'static str>
The icon on the window or the favicon on the tab
vsync: bool
If VSync should be enabled
Does nothing on web currently
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
Trait Implementations
Auto Trait Implementations
impl Unpin for Settings
impl Sync for Settings
impl Send for Settings
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<T> Erased for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
[src]
fn is_in_subset(&self) -> bool
[src]
unsafe fn to_subset_unchecked(&self) -> SS
[src]
fn from_subset(element: &SS) -> SP
[src]
impl<T> Downcast for T where
T: Any,
T: Any,