#[repr(C)]pub struct XGenericEventCookie {
pub type_: i32,
pub serial: u32,
pub send_event: i32,
pub display: *mut _XDisplay,
pub extension: i32,
pub evtype: i32,
pub cookie: u32,
pub data: *mut c_void,
}
Fields§
§type_: i32
§serial: u32
§send_event: i32
§display: *mut _XDisplay
§extension: i32
§evtype: i32
§data: *mut c_void
Trait Implementations§
§impl AsMut<XGenericEventCookie> for XEvent
impl AsMut<XGenericEventCookie> for XEvent
§fn as_mut(&mut self) -> &mut XGenericEventCookie
fn as_mut(&mut self) -> &mut XGenericEventCookie
Converts this type into a mutable reference of the (usually inferred) input type.
§impl AsRef<XGenericEventCookie> for XEvent
impl AsRef<XGenericEventCookie> for XEvent
§fn as_ref(&self) -> &XGenericEventCookie
fn as_ref(&self) -> &XGenericEventCookie
Converts this type into a shared reference of the (usually inferred) input type.
§impl Clone for XGenericEventCookie
impl Clone for XGenericEventCookie
§fn clone(&self) -> XGenericEventCookie
fn clone(&self) -> XGenericEventCookie
Returns a copy 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 more§impl Debug for XGenericEventCookie
impl Debug for XGenericEventCookie
§impl<'a> From<&'a XEvent> for XGenericEventCookie
impl<'a> From<&'a XEvent> for XGenericEventCookie
§fn from(xevent: &'a XEvent) -> XGenericEventCookie
fn from(xevent: &'a XEvent) -> XGenericEventCookie
Converts to this type from the input type.
§impl<'a> From<&'a XGenericEventCookie> for XEvent
impl<'a> From<&'a XGenericEventCookie> for XEvent
§fn from(other: &'a XGenericEventCookie) -> XEvent
fn from(other: &'a XGenericEventCookie) -> XEvent
Converts to this type from the input type.
§impl From<XEvent> for XGenericEventCookie
impl From<XEvent> for XGenericEventCookie
§fn from(xevent: XEvent) -> XGenericEventCookie
fn from(xevent: XEvent) -> XGenericEventCookie
Converts to this type from the input type.
§impl From<XGenericEventCookie> for XEvent
impl From<XGenericEventCookie> for XEvent
§fn from(other: XGenericEventCookie) -> XEvent
fn from(other: XGenericEventCookie) -> XEvent
Converts to this type from the input type.
§impl PartialEq<XGenericEventCookie> for XGenericEventCookie
impl PartialEq<XGenericEventCookie> for XGenericEventCookie
§fn eq(&self, other: &XGenericEventCookie) -> bool
fn eq(&self, other: &XGenericEventCookie) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XGenericEventCookie
impl StructuralPartialEq for XGenericEventCookie
Auto Trait Implementations§
impl RefUnwindSafe for XGenericEventCookie
impl !Send for XGenericEventCookie
impl !Sync for XGenericEventCookie
impl Unpin for XGenericEventCookie
impl UnwindSafe for XGenericEventCookie
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