Struct xcb::xproto::Rectangle
[−]
[src]
pub struct Rectangle {
pub base: xcb_rectangle_t,
}Fields
base: xcb_rectangle_t
Methods
impl Rectangle[src]
fn new(x: i16, y: i16, width: u16, height: u16) -> Rectangle
fn x(&self) -> i16
fn y(&self) -> i16
fn width(&self) -> u16
fn height(&self) -> u16
Trait Implementations
impl Copy for Rectangle[src]
impl Clone for Rectangle[src]
fn clone(&self) -> Rectangle
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