[][src]Struct miniquad::conf::Conf

pub struct Conf {
    pub cache: Cache,
    pub loading: Loading,
    pub window_title: String,
    pub window_width: i32,
    pub window_height: i32,
    pub high_dpi: bool,
    pub fullscreen: bool,
    pub sample_count: i32,
}

Fields

cache: Cacheloading: Loadingwindow_title: Stringwindow_width: i32

the preferred width of the window, ignored on wasm/android

window_height: i32

the preferred height of the window, ignored on wasm/android

high_dpi: bool

whether the rendering canvas is full-resolution on HighDPI displays

fullscreen: bool

whether the window should be created in fullscreen mode, ignored on wasm/android

sample_count: i32

MSAA sample count

Trait Implementations

impl Debug for Conf[src]

impl Default for Conf[src]

Auto Trait Implementations

impl RefUnwindSafe for Conf

impl Send for Conf

impl Sync for Conf

impl Unpin for Conf

impl UnwindSafe for Conf

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.