pub fn new<T: Into<String>, S: Into<Size>>(title: T, size: S) -> WindowSettings {
        WindowSettings {
            title: title.into(),
            size: size.into(),
            samples: 0,
            fullscreen: false,
            exit_on_esc: false,
            automatic_close: true,
            vsync: false,
            graphics_api: None,
            srgb: true,
            resizable: true,
            decorated: true,
            controllers: true,
            transparent: false,
        }
    }
/// Creates window settings with defaults.
///
/// - samples: 0
/// - fullscreen: false
/// - `exit_on_esc`: false
/// - vsync: false
/// - srgb: true
/// - resizable: true
/// - decorated: true
/// - controllers: true
Creates window settings with defaults.
Creates window settings with defaults .
pub fn new<T: Into<String>, S: Into<Size>>(title: T, size: S) -> WindowSettings {
        WindowSettings {
            title: title.into(),
            size: size.into(),
            samples: 0,
            fullscreen: false,
            exit_on_esc: false,
            automatic_close: true,
            vsync: false,
            graphics_api: None,
            srgb: true,
            resizable: true,
            decorated: true,
            controllers: true,
            transparent: false,
        }
    }
pub fn new < T : Into < String > , S : Into < Size > > ( title : T , size : S ) -> WindowSettings { WindowSettings { title : title . into ( ) , size : size . into ( ) , samples : 0 , fullscreen : false , exit_on_esc : false , automatic_close : true , vsync : false , graphics_api : None , srgb : true , resizable : true , decorated : true , controllers : true , transparent : false , } }
Creates window settings with defaults.
Creates window settings with defaults .
title
T
size
S
title
T
size
S