Struct drm::control::Mode
[−]
[src]
pub struct Mode { /* fields omitted */ }
Methods
impl Mode
[src]
fn clock(&self) -> u32
[src]
Returns the clock speed of this mode.
fn size(&self) -> (u16, u16)
[src]
Returns the size (resolution) of the mode.
fn hsync(&self) -> (u16, u16, u16)
[src]
Returns the horizontal sync start, end, and total.
fn vsync(&self) -> (u16, u16, u16)
[src]
Returns the vertical sync start, end, and total.
fn hskew(&self) -> u16
[src]
Returns the horizontal skew of this mode.
fn vscan(&self) -> u16
[src]
Returns the vertical scan of this mode.
fn name(&self) -> &CStr
[src]
Returns the name of the mode.
Trait Implementations
impl Debug for Mode
[src]
impl Clone for Mode
[src]
fn clone(&self) -> Mode
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Mode
[src]
impl PartialEq for Mode
[src]
fn eq(&self, other: &Mode) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.