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,
}
Expand description
A possible mode for an output
Fields
dimensions: (i32, i32)
Number of pixels of this mode in format (width, height)
for example (1920, 1080)
refresh_rate: i32
Refresh rate for this mode, in mHz
is_current: bool
Whether this is the current mode for this output
is_preferred: bool
Whether this is the preferred mode for this output
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mode
impl UnwindSafe for Mode
Blanket Implementations
Mutably borrows from an owned value. Read more