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