#[repr(C)]pub struct XColor {
pub pixel: c_ulong,
pub red: c_ushort,
pub green: c_ushort,
pub blue: c_ushort,
pub flags: c_char,
pub pad: c_char,
}
Fields§
§pixel: c_ulong
§red: c_ushort
§green: c_ushort
§blue: c_ushort
§flags: c_char
§pad: c_char
Trait Implementations§
impl Copy for XColor
impl StructuralPartialEq for XColor
Auto Trait Implementations§
impl Freeze for XColor
impl RefUnwindSafe for XColor
impl Send for XColor
impl Sync for XColor
impl Unpin for XColor
impl UnwindSafe for XColor
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)