Struct smithay_client_toolkit::output::Mode[][src]

pub struct Mode {
    pub dimensions: (i32, i32),
    pub refresh_rate: i32,
    pub is_current: bool,
    pub is_preferred: bool,
}

A possible mode for an output

Fields

Number of pixels of this mode in format (width, height)

for example (1920, 1080)

Refresh rate for this mode, in mHz

Whether this is the current mode for this output

Whether this is the preferred mode for this output

Trait Implementations

impl Copy for Mode
[src]

impl Clone for Mode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Mode
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Mode

impl Sync for Mode