Struct gdk_x11_sys::xlib::XErrorEvent
[−]#[repr(C)]pub struct XErrorEvent {
pub type_: i32,
pub display: *mut _XDisplay,
pub resourceid: u64,
pub serial: u64,
pub error_code: u8,
pub request_code: u8,
pub minor_code: u8,
}
Fields
type_: i32
display: *mut _XDisplay
resourceid: u64
serial: u64
error_code: u8
request_code: u8
minor_code: u8
Trait Implementations
impl AsMut<XErrorEvent> for XEvent
impl AsMut<XErrorEvent> for XEvent
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.
impl AsRef<XErrorEvent> for XEvent
impl AsRef<XErrorEvent> for XEvent
fn as_ref(&self) -> &XErrorEvent
fn as_ref(&self) -> &XErrorEvent
Converts this type into a shared reference of the (usually inferred) input type.
impl Clone for XErrorEvent
impl Clone for XErrorEvent
fn clone(&self) -> XErrorEvent
fn clone(&self) -> XErrorEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for XErrorEvent
impl Debug for XErrorEvent
impl<'a> From<&'a XErrorEvent> for XEvent
impl<'a> From<&'a XErrorEvent> for XEvent
fn from(other: &'a XErrorEvent) -> XEvent
fn from(other: &'a XErrorEvent) -> XEvent
Converts to this type from the input type.
impl<'a> From<&'a XEvent> for XErrorEvent
impl<'a> From<&'a XEvent> for XErrorEvent
fn from(xevent: &'a XEvent) -> XErrorEvent
fn from(xevent: &'a XEvent) -> XErrorEvent
Converts to this type from the input type.
impl From<XErrorEvent> for XEvent
impl From<XErrorEvent> for XEvent
fn from(other: XErrorEvent) -> XEvent
fn from(other: XErrorEvent) -> XEvent
Converts to this type from the input type.
impl From<XEvent> for XErrorEvent
impl From<XEvent> for XErrorEvent
fn from(xevent: XEvent) -> XErrorEvent
fn from(xevent: XEvent) -> XErrorEvent
Converts to this type from the input type.
impl PartialEq<XErrorEvent> for XErrorEvent
impl PartialEq<XErrorEvent> for XErrorEvent
fn eq(&self, other: &XErrorEvent) -> bool
fn eq(&self, other: &XErrorEvent) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &XErrorEvent) -> bool
fn ne(&self, other: &XErrorEvent) -> bool
This method tests for !=
.
impl Copy for XErrorEvent
impl StructuralPartialEq for XErrorEvent
Auto Trait Implementations
impl RefUnwindSafe for XErrorEvent
impl !Send for XErrorEvent
impl !Sync for XErrorEvent
impl Unpin for XErrorEvent
impl UnwindSafe for XErrorEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more