Struct x11::xlib::XErrorEvent [] [src]

pub struct XErrorEvent {
    pub type_: c_int,
    pub display: *mut Display,
    pub resourceid: XID,
    pub serial: c_ulong,
    pub error_code: c_uchar,
    pub request_code: c_uchar,
    pub minor_code: c_uchar,
}

Fields

type_: c_int display: *mut Display resourceid: XID serial: c_ulong error_code: c_uchar request_code: c_uchar minor_code: c_uchar

Trait Implementations

impl PartialEq for XErrorEvent
[src]

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

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

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

This method tests for !=.

impl Copy for XErrorEvent
[src]

impl Clone for XErrorEvent
[src]

fn clone(&self) -> XErrorEvent

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 XErrorEvent
[src]

fn from(e: XEvent) -> XErrorEvent

Performs the conversion.