Struct x11_dl::xlib::XColor
[−]
[src]
pub struct XColor {
pub pixel: c_ulong,
pub red: c_ushort,
pub green: c_ushort,
pub blue: c_ushort,
pub flags: c_char,
pub pad: c_char,
}Fields
pixel: c_ulong
red: c_ushort
green: c_ushort
blue: c_ushort
flags: c_char
pad: c_char
Trait Implementations
impl PartialEq for XColor[src]
fn eq(&self, __arg_0: &XColor) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &XColor) -> bool
This method tests for !=.
impl Copy for XColor[src]
impl Clone for XColor[src]
fn clone(&self) -> XColor
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