Struct glfw::VidMode[][src]

pub struct VidMode {
    pub width: u32,
    pub height: u32,
    pub red_bits: u32,
    pub green_bits: u32,
    pub blue_bits: u32,
    pub refresh_rate: u32,
}

Describes a single video mode.

Fields

Trait Implementations

impl Copy for VidMode
[src]

impl Clone for VidMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for VidMode
[src]

Returns a string representation of the video mode.

Returns

A string in the form:

This example is not tested
~"[width] x [height], [total_bits] ([red_bits] [green_bits] [blue_bits]) [refresh_rate] Hz"

Auto Trait Implementations

impl Send for VidMode

impl Sync for VidMode