Struct x11::xlib::XColormapEvent
[−]
[src]
#[repr(C)]pub struct XColormapEvent { pub type_: c_int, pub serial: c_ulong, pub send_event: Bool, pub display: *mut Display, pub window: Window, pub colormap: Colormap, pub new: Bool, pub state: c_int, }
Fields
type_: c_int
serial: c_ulong
send_event: Bool
display: *mut Display
window: Window
colormap: Colormap
new: Bool
state: c_int
Trait Implementations
impl From<XEvent> for XColormapEvent
[src]
fn from(xevent: XEvent) -> XColormapEvent
Performs the conversion.
impl<'a> From<&'a XEvent> for XColormapEvent
[src]
fn from(xevent: &'a XEvent) -> XColormapEvent
Performs the conversion.
impl Clone for XColormapEvent
[src]
fn clone(&self) -> XColormapEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for XColormapEvent
[src]
impl PartialEq for XColormapEvent
[src]
fn eq(&self, __arg_0: &XColormapEvent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &XColormapEvent) -> bool
This method tests for !=
.