Struct x11::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
sourceimpl Clone for XRenderDirectFormat
impl Clone for XRenderDirectFormat
sourcefn clone(&self) -> XRenderDirectFormat
fn clone(&self) -> XRenderDirectFormat
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 XRenderDirectFormat
impl Debug for XRenderDirectFormat
sourceimpl PartialEq<XRenderDirectFormat> for XRenderDirectFormat
impl PartialEq<XRenderDirectFormat> for XRenderDirectFormat
sourcefn 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 ==
. Read more
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
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