Struct x11_dl::xlib::XSegment [−][src]
#[repr(C)]pub struct XSegment { pub x1: c_short, pub y1: c_short, pub x2: c_short, pub y2: c_short, }
Fields
x1: c_short
y1: c_short
x2: c_short
y2: c_short
Trait Implementations
impl Debug for XSegment[src]
impl Debug for XSegmentfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for XSegment[src]
impl Clone for XSegmentfn clone(&self) -> XSegment[src]
fn clone(&self) -> XSegmentReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for XSegment[src]
impl Copy for XSegmentimpl PartialEq for XSegment[src]
impl PartialEq for XSegment