Struct drm::drm_mode::ModeInfo
[−]
[src]
pub struct ModeInfo { /* fields omitted */ }
Structure representing connector.
Methods
impl ModeInfo
[src]
General methods
fn new(mode_info: drmModeModeInfo) -> Self
ModeInfo
constructor.
fn as_ptr(&self) -> drmModeModeInfoPtr
Returns pointer to raw C structure.
impl ModeInfo
[src]
Getters for original members
fn get_clock(&self) -> u32
fn get_hdisplay(&self) -> u16
fn get_hsync_start(&self) -> u16
fn get_hsync_end(&self) -> u16
fn get_htotal(&self) -> u16
fn get_hskew(&self) -> u16
fn get_vdisplay(&self) -> u16
fn get_vsync_start(&self) -> u16
fn get_vsync_end(&self) -> u16
fn get_vtotal(&self) -> u16
fn get_vscan(&self) -> u16
fn get_vrefresh(&self) -> u32
fn get_flags(&self) -> u32
fn get_mode_type(&self) -> u32
Trait Implementations
impl Clone for ModeInfo
[src]
fn clone(&self) -> ModeInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more