Struct sdl2::video::DisplayMode [] [src]

pub struct DisplayMode {
    pub format: u32,
    pub w: i32,
    pub h: i32,
    pub refresh_rate: i32,
}

Fields

Methods

impl DisplayMode
[src]

Trait Implementations

impl Copy for DisplayMode
[src]

impl Clone for DisplayMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for DisplayMode
[src]

impl PartialEq for DisplayMode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for DisplayMode
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for DisplayMode
[src]

Formats the value using the given formatter.