pub struct ColormapNotifyEvent {
    pub response_type: u8,
    pub sequence: u16,
    pub window: u32,
    pub colormap: u32,
    pub new: bool,
    pub state: ColormapState,
}Expand description
the colormap for some window changed.
§Fields
window- The window whose associated colormap is changed, installed or uninstalled.colormap- The colormap which is changed, installed or uninstalled. This isXCB_NONEwhen the colormap is changed by a call toFreeColormap._new- Indicates whether the colormap was changed (1) or installed/uninstalled (0).state-
§See
FreeColormap: request
Fields§
§response_type: u8§sequence: u16§window: u32§colormap: u32§new: bool§state: ColormapStateTrait Implementations§
Source§impl Clone for ColormapNotifyEvent
 
impl Clone for ColormapNotifyEvent
Source§fn clone(&self) -> ColormapNotifyEvent
 
fn clone(&self) -> ColormapNotifyEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for ColormapNotifyEvent
 
impl Debug for ColormapNotifyEvent
Source§impl Default for ColormapNotifyEvent
 
impl Default for ColormapNotifyEvent
Source§fn default() -> ColormapNotifyEvent
 
fn default() -> ColormapNotifyEvent
Returns the “default value” for a type. Read more
Source§impl Hash for ColormapNotifyEvent
 
impl Hash for ColormapNotifyEvent
Source§impl Ord for ColormapNotifyEvent
 
impl Ord for ColormapNotifyEvent
Source§fn cmp(&self, other: &ColormapNotifyEvent) -> Ordering
 
fn cmp(&self, other: &ColormapNotifyEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ColormapNotifyEvent
 
impl PartialEq for ColormapNotifyEvent
Source§impl PartialOrd for ColormapNotifyEvent
 
impl PartialOrd for ColormapNotifyEvent
Source§impl Serialize for ColormapNotifyEvent
 
impl Serialize for ColormapNotifyEvent
Source§impl TryParse for ColormapNotifyEvent
 
impl TryParse for ColormapNotifyEvent
Source§fn try_parse(
    initial_value: &[u8],
) -> Result<(ColormapNotifyEvent, &[u8]), ParseError>
 
fn try_parse( initial_value: &[u8], ) -> Result<(ColormapNotifyEvent, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
impl Copy for ColormapNotifyEvent
impl Eq for ColormapNotifyEvent
impl StructuralPartialEq for ColormapNotifyEvent
Auto Trait Implementations§
impl Freeze for ColormapNotifyEvent
impl RefUnwindSafe for ColormapNotifyEvent
impl Send for ColormapNotifyEvent
impl Sync for ColormapNotifyEvent
impl Unpin for ColormapNotifyEvent
impl UnwindSafe for ColormapNotifyEvent
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§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> TryParseFd for Twhere
    T: TryParse,
 
impl<T> TryParseFd for Twhere
    T: TryParse,
Source§fn try_parse_fd<'a>(
    value: &'a [u8],
    _: &mut Vec<OwnedFd>,
) -> Result<(T, &'a [u8]), ParseError>
 
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd>, ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more