Struct x11::xlib::XStandardColormap
source · [−]#[repr(C)]pub struct XStandardColormap {
pub colormap: Colormap,
pub red_max: c_ulong,
pub red_mult: c_ulong,
pub green_max: c_ulong,
pub green_mult: c_ulong,
pub blue_max: c_ulong,
pub blue_mult: c_ulong,
pub base_pixel: c_ulong,
pub visualid: VisualID,
pub killid: XID,
}Fields
colormap: Colormapred_max: c_ulongred_mult: c_ulonggreen_max: c_ulonggreen_mult: c_ulongblue_max: c_ulongblue_mult: c_ulongbase_pixel: c_ulongvisualid: VisualIDkillid: XIDTrait Implementations
sourceimpl Clone for XStandardColormap
impl Clone for XStandardColormap
sourcefn clone(&self) -> XStandardColormap
fn clone(&self) -> XStandardColormap
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 XStandardColormap
impl Debug for XStandardColormap
sourceimpl PartialEq<XStandardColormap> for XStandardColormap
impl PartialEq<XStandardColormap> for XStandardColormap
sourcefn eq(&self, other: &XStandardColormap) -> bool
fn eq(&self, other: &XStandardColormap) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Copy for XStandardColormap
impl StructuralPartialEq for XStandardColormap
Auto Trait Implementations
impl RefUnwindSafe for XStandardColormap
impl Send for XStandardColormap
impl Sync for XStandardColormap
impl Unpin for XStandardColormap
impl UnwindSafe for XStandardColormap
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