Struct x11_dl::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 for XRenderColor
impl PartialEq 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 ==
.impl Copy for XRenderColor
impl StructuralPartialEq for XRenderColor
Auto Trait Implementations§
impl Freeze for XRenderColor
impl RefUnwindSafe for XRenderColor
impl Send for XRenderColor
impl Sync for XRenderColor
impl Unpin for XRenderColor
impl UnwindSafe for XRenderColor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more