Struct xcb::randr::ScreenSize
[−]
[src]
pub struct ScreenSize { pub base: xcb_randr_screen_size_t, }
Fields
base: xcb_randr_screen_size_t
Methods
impl ScreenSize
[src]
fn new(width: u16, height: u16, mwidth: u16, mheight: u16) -> ScreenSize
fn width(&self) -> u16
fn height(&self) -> u16
fn mwidth(&self) -> u16
fn mheight(&self) -> u16
Trait Implementations
impl Copy for ScreenSize
[src]
impl Clone for ScreenSize
[src]
fn clone(&self) -> ScreenSize
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