pub fn new() -> EventSettings {
        EventSettings {
            max_fps: DEFAULT_MAX_FPS,
            ups: DEFAULT_UPS,
            swap_buffers: true,
            bench_mode: false,
            lazy: false,
            ups_reset: DEFAULT_UPS_RESET,
        }
    }
/// Creates new with default settings.
Creates new with default settings.
Creates new with default settings .
pub fn new() -> EventSettings {
        EventSettings {
            max_fps: DEFAULT_MAX_FPS,
            ups: DEFAULT_UPS,
            swap_buffers: true,
            bench_mode: false,
            lazy: false,
            ups_reset: DEFAULT_UPS_RESET,
        }
    }
pub fn new ( ) -> EventSettings { EventSettings { max_fps : DEFAULT_MAX_FPS , ups : DEFAULT_UPS , swap_buffers : true , bench_mode : false , lazy : false , ups_reset : DEFAULT_UPS_RESET , } }
Creates new with default settings.
Creates new with default settings .