Struct xcb::randr::ModeInfo
[−]
[src]
pub struct ModeInfo { pub base: xcb_randr_mode_info_t, }
Fields
base: xcb_randr_mode_info_t
Methods
impl ModeInfo
[src]
fn new(
id: u32,
width: u16,
height: u16,
dot_clock: u32,
hsync_start: u16,
hsync_end: u16,
htotal: u16,
hskew: u16,
vsync_start: u16,
vsync_end: u16,
vtotal: u16,
name_len: u16,
mode_flags: u32
) -> ModeInfo
id: u32,
width: u16,
height: u16,
dot_clock: u32,
hsync_start: u16,
hsync_end: u16,
htotal: u16,
hskew: u16,
vsync_start: u16,
vsync_end: u16,
vtotal: u16,
name_len: u16,
mode_flags: u32
) -> ModeInfo
fn id(&self) -> u32
fn width(&self) -> u16
fn height(&self) -> u16
fn dot_clock(&self) -> u32
fn hsync_start(&self) -> u16
fn hsync_end(&self) -> u16
fn htotal(&self) -> u16
fn hskew(&self) -> u16
fn vsync_start(&self) -> u16
fn vsync_end(&self) -> u16
fn vtotal(&self) -> u16
fn name_len(&self) -> u16
fn mode_flags(&self) -> u32
Trait Implementations
impl Copy for ModeInfo
[src]
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