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

Methods

impl EventSettings
[src]

[src]

Creates new with default settings.

Trait Implementations

impl Copy for EventSettings
[src]

impl Clone for EventSettings
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for EventSettings
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for EventSettings
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for EventSettings

impl Sync for EventSettings