Struct x11::xlib::XGenericEventCookie [] [src]

pub struct XGenericEventCookie {
    pub type_: c_int,
    pub serial: c_ulong,
    pub send_event: Bool,
    pub display: *mut Display,
    pub extension: c_int,
    pub evtype: c_int,
    pub cookie: c_uint,
    pub data: *mut c_void,
}

Fields

type_: c_int serial: c_ulong send_event: Bool display: *mut Display extension: c_int evtype: c_int cookie: c_uint data: *mut c_void

Trait Implementations

impl PartialEq for XGenericEventCookie
[src]

fn eq(&self, __arg_0: &XGenericEventCookie) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &XGenericEventCookie) -> bool

This method tests for !=.

impl Copy for XGenericEventCookie
[src]

impl Clone for XGenericEventCookie
[src]

fn clone(&self) -> XGenericEventCookie

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 From<XEvent> for XGenericEventCookie
[src]

fn from(e: XEvent) -> XGenericEventCookie

Performs the conversion.