Struct xcb::xproto::Segment
[−]
[src]
pub struct Segment { pub base: xcb_segment_t, }
Fields
base: xcb_segment_t
Methods
impl Segment
[src]
fn new(x1: i16, y1: i16, x2: i16, y2: i16) -> Segment
fn x1(&self) -> i16
fn y1(&self) -> i16
fn x2(&self) -> i16
fn y2(&self) -> i16
Trait Implementations
impl Copy for Segment
[src]
impl Clone for Segment
[src]
fn clone(&self) -> Segment
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