Struct wayland_client::core::output::OutputMode [] [src]

pub struct OutputMode {
    pub width: i32,
    pub height: i32,
    pub refresh: i32,
    // some fields omitted
}

Representation of an output mode

Fields

width

width of the mode in hardware units

height

height of the mode in hardware units

refresh

vertical refresh rate in mHz

Methods

impl OutputMode

fn is_current(&self) -> bool

fn is_preferred(&self) -> bool

Trait Implementations

Derived Implementations

impl Clone for OutputMode

fn clone(&self) -> OutputMode

fn clone_from(&mut self, source: &Self)

impl Copy for OutputMode