Struct x11::xrender::_XIndexValue
source · [−]#[repr(C)]pub struct _XIndexValue {
pub pixel: c_ulong,
pub red: c_ushort,
pub green: c_ushort,
pub blue: c_ushort,
pub alpha: c_ushort,
}
Fields
pixel: c_ulong
red: c_ushort
green: c_ushort
blue: c_ushort
alpha: c_ushort
Trait Implementations
sourceimpl Clone for _XIndexValue
impl Clone for _XIndexValue
sourcefn clone(&self) -> _XIndexValue
fn clone(&self) -> _XIndexValue
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 _XIndexValue
impl Debug for _XIndexValue
sourceimpl PartialEq<_XIndexValue> for _XIndexValue
impl PartialEq<_XIndexValue> for _XIndexValue
sourcefn eq(&self, other: &_XIndexValue) -> bool
fn eq(&self, other: &_XIndexValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for _XIndexValue
impl StructuralPartialEq for _XIndexValue
Auto Trait Implementations
impl RefUnwindSafe for _XIndexValue
impl Send for _XIndexValue
impl Sync for _XIndexValue
impl Unpin for _XIndexValue
impl UnwindSafe for _XIndexValue
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