Struct x11::xlib::XSegment [-] [+] [src]

pub struct XSegment {
    pub x1: c_short,
    pub y1: c_short,
    pub x2: c_short,
    pub y2: c_short,
}

Fields

x1
y1
x2
y2

Trait Implementations

Derived Implementations

impl PartialEq for XSegment

fn eq(&self, __arg_0: &XSegment) -> bool

fn ne(&self, __arg_0: &XSegment) -> bool

impl Copy for XSegment

impl Clone for XSegment

fn clone(&self) -> XSegment

fn clone_from(&mut self, source: &Self)