Struct xproto::xColorItem
source · #[repr(C)]pub struct xColorItem {
pub pixel: CARD32,
pub red: CARD16,
pub green: CARD16,
pub blue: CARD16,
pub flags: CARD8,
pub pad: CARD8,
}Fields
pixel: CARD32red: CARD16green: CARD16blue: CARD16flags: CARD8pad: CARD8Trait Implementations
sourceimpl Clone for xColorItem
impl Clone for xColorItem
sourcefn clone(&self) -> xColorItem
fn clone(&self) -> xColorItem
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 moresourceimpl Debug for xColorItem
impl Debug for xColorItem
impl Copy for xColorItem
Auto Trait Implementations
impl RefUnwindSafe for xColorItem
impl Send for xColorItem
impl Sync for xColorItem
impl Unpin for xColorItem
impl UnwindSafe for xColorItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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