Struct gfx4games::events::EventSettings
[−]
[src]
pub struct EventSettings { pub max_fps: u64, pub ups: u64, pub ups_reset: u64, pub swap_buffers: bool, pub bench_mode: bool, pub lazy: bool, }
Fields
max_fps: u64
ups: u64
ups_reset: u64
swap_buffers: bool
bench_mode: bool
lazy: bool
Methods
impl EventSettings
[src]
pub fn new() -> EventSettings
[src]
Creates new with default settings.
Trait Implementations
impl Copy for EventSettings
[src]
impl Clone for EventSettings
[src]
fn clone(&self) -> EventSettings
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for EventSettings
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for EventSettings
[src]
fn default() -> EventSettings
[src]
Returns the "default value" for a type. Read more