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: c_short
y1: c_short
x2: c_short
y2: c_short
Trait Implementations
impl PartialEq for XSegment
[src]
fn eq(&self, __arg_0: &XSegment) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &XSegment) -> bool
This method tests for !=
.
impl Copy for XSegment
[src]
impl Clone for XSegment
[src]
fn clone(&self) -> XSegment
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