Struct gdk_x11_sys::xlib::XColor
[−]#[repr(C)]pub struct XColor {
pub pixel: u64,
pub red: u16,
pub green: u16,
pub blue: u16,
pub flags: i8,
pub pad: i8,
}
Fields
pixel: u64
red: u16
green: u16
blue: u16
flags: i8
pad: i8
Trait Implementations
impl Copy for XColor
impl StructuralPartialEq for XColor
Auto Trait Implementations
impl RefUnwindSafe for XColor
impl Send for XColor
impl Sync for XColor
impl Unpin for XColor
impl UnwindSafe for XColor
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more