Struct x11::xrender::XRenderColor
source · #[repr(C)]pub struct XRenderColor {
pub red: c_ushort,
pub green: c_ushort,
pub blue: c_ushort,
pub alpha: c_ushort,
}
Fields§
§red: c_ushort
§green: c_ushort
§blue: c_ushort
§alpha: c_ushort
Trait Implementations§
source§impl Clone for XRenderColor
impl Clone for XRenderColor
source§fn clone(&self) -> XRenderColor
fn clone(&self) -> XRenderColor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for XRenderColor
impl Debug for XRenderColor
source§impl PartialEq<XRenderColor> for XRenderColor
impl PartialEq<XRenderColor> for XRenderColor
source§fn eq(&self, other: &XRenderColor) -> bool
fn eq(&self, other: &XRenderColor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.