[][src]Struct quicksilver::lifecycle::Settings

pub struct Settings {
    pub show_cursor: bool,
    pub min_size: Option<Vector>,
    pub max_size: Option<Vector>,
    pub resize: ResizeStrategy,
    pub scale: ImageScaleStrategy,
    pub fullscreen: bool,
    pub update_rate: f64,
    pub max_updates: u32,
    pub draw_rate: f64,
    pub icon_path: Option<&'static str>,
    pub vsync: bool,
    pub multisampling: Option<u16>,
}

A builder that constructs a Window

Fields

If the cursor should be visible over the application

The smallest size the user can resize the window to

Does nothing on web

The largest size the user can resize the window to

Does nothing on web

How content should be presented when the window is resized

How images should be scaled

If the application should be fullscreen

How many milliseconds should elapse between update calls

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

How many milliseconds should elapse between draw calls

The icon on the window or the favicon on the tab

If VSync should be enabled

Does nothing on web currently

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

impl Default for Settings
[src]

impl Debug for Settings
[src]

Auto Trait Implementations

impl Send for Settings

impl Sync for Settings

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SetParameter for T

Sets value as a parameter of self.

impl<T> Erased for T

impl<T> Same for T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]