Struct x11_dl::xrender::XRenderDirectFormat
source · #[repr(C)]pub struct XRenderDirectFormat {
pub red: c_short,
pub redMask: c_short,
pub green: c_short,
pub greenMask: c_short,
pub blue: c_short,
pub blueMask: c_short,
pub alpha: c_short,
pub alphaMask: c_short,
}
Fields§
§red: c_short
§redMask: c_short
§green: c_short
§greenMask: c_short
§blue: c_short
§blueMask: c_short
§alpha: c_short
§alphaMask: c_short
Trait Implementations§
source§impl Clone for XRenderDirectFormat
impl Clone for XRenderDirectFormat
source§fn clone(&self) -> XRenderDirectFormat
fn clone(&self) -> XRenderDirectFormat
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 XRenderDirectFormat
impl Debug for XRenderDirectFormat
source§impl PartialEq for XRenderDirectFormat
impl PartialEq for XRenderDirectFormat
source§fn eq(&self, other: &XRenderDirectFormat) -> bool
fn eq(&self, other: &XRenderDirectFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XRenderDirectFormat
impl StructuralPartialEq for XRenderDirectFormat
Auto Trait Implementations§
impl RefUnwindSafe for XRenderDirectFormat
impl Send for XRenderDirectFormat
impl Sync for XRenderDirectFormat
impl Unpin for XRenderDirectFormat
impl UnwindSafe for XRenderDirectFormat
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