#[repr(C)]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_ucharTrait Implementations§
Source§impl AsMut<XErrorEvent> for XEvent
 
impl AsMut<XErrorEvent> for XEvent
Source§fn as_mut(&mut self) -> &mut XErrorEvent
 
fn as_mut(&mut self) -> &mut XErrorEvent
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<XErrorEvent> for XEvent
 
impl AsRef<XErrorEvent> for XEvent
Source§fn as_ref(&self) -> &XErrorEvent
 
fn as_ref(&self) -> &XErrorEvent
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for XErrorEvent
 
impl Clone for XErrorEvent
Source§fn clone(&self) -> XErrorEvent
 
fn clone(&self) -> XErrorEvent
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 XErrorEvent
 
impl Debug for XErrorEvent
Source§impl<'a> From<&'a XErrorEvent> for XEvent
 
impl<'a> From<&'a XErrorEvent> for XEvent
Source§fn from(other: &'a XErrorEvent) -> XEvent
 
fn from(other: &'a XErrorEvent) -> XEvent
Converts to this type from the input type.
Source§impl<'a> From<&'a XEvent> for XErrorEvent
 
impl<'a> From<&'a XEvent> for XErrorEvent
Source§fn from(xevent: &'a XEvent) -> XErrorEvent
 
fn from(xevent: &'a XEvent) -> XErrorEvent
Converts to this type from the input type.
Source§impl From<XErrorEvent> for XEvent
 
impl From<XErrorEvent> for XEvent
Source§fn from(other: XErrorEvent) -> XEvent
 
fn from(other: XErrorEvent) -> XEvent
Converts to this type from the input type.
Source§impl From<XEvent> for XErrorEvent
 
impl From<XEvent> for XErrorEvent
Source§fn from(xevent: XEvent) -> XErrorEvent
 
fn from(xevent: XEvent) -> XErrorEvent
Converts to this type from the input type.
Source§impl PartialEq for XErrorEvent
 
impl PartialEq for XErrorEvent
impl Copy for XErrorEvent
impl StructuralPartialEq for XErrorEvent
Auto Trait Implementations§
impl Freeze for XErrorEvent
impl RefUnwindSafe for XErrorEvent
impl !Send for XErrorEvent
impl !Sync for XErrorEvent
impl Unpin for XErrorEvent
impl UnwindSafe for XErrorEvent
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