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
sourceimpl Clone for XRenderColor
impl Clone for XRenderColor
sourcefn clone(&self) -> XRenderColor
fn clone(&self) -> XRenderColor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for XRenderColor
impl Debug for XRenderColor
sourceimpl PartialEq<XRenderColor> for XRenderColor
impl PartialEq<XRenderColor> for XRenderColor
sourcefn 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 ==
. Read more
impl Copy for XRenderColor
impl StructuralPartialEq for XRenderColor
Auto Trait Implementations
impl RefUnwindSafe for XRenderColor
impl Send for XRenderColor
impl Sync for XRenderColor
impl Unpin for XRenderColor
impl UnwindSafe for XRenderColor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more