Struct x11_dl::xlib::XGenericEventCookie
source · #[repr(C)]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
§data: *mut c_void
Trait Implementations§
source§impl AsMut<XGenericEventCookie> for XEvent
impl AsMut<XGenericEventCookie> for XEvent
source§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.
source§impl AsRef<XGenericEventCookie> for XEvent
impl AsRef<XGenericEventCookie> for XEvent
source§fn as_ref(&self) -> &XGenericEventCookie
fn as_ref(&self) -> &XGenericEventCookie
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for XGenericEventCookie
impl Clone for XGenericEventCookie
source§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 moresource§impl Debug for XGenericEventCookie
impl Debug for XGenericEventCookie
source§impl<'a> From<&'a XEvent> for XGenericEventCookie
impl<'a> From<&'a XEvent> for XGenericEventCookie
source§fn from(xevent: &'a XEvent) -> XGenericEventCookie
fn from(xevent: &'a XEvent) -> XGenericEventCookie
Converts to this type from the input type.
source§impl<'a> From<&'a XGenericEventCookie> for XEvent
impl<'a> From<&'a XGenericEventCookie> for XEvent
source§fn from(other: &'a XGenericEventCookie) -> XEvent
fn from(other: &'a XGenericEventCookie) -> XEvent
Converts to this type from the input type.
source§impl From<XEvent> for XGenericEventCookie
impl From<XEvent> for XGenericEventCookie
source§fn from(xevent: XEvent) -> XGenericEventCookie
fn from(xevent: XEvent) -> XGenericEventCookie
Converts to this type from the input type.
source§impl From<XGenericEventCookie> for XEvent
impl From<XGenericEventCookie> for XEvent
source§fn from(other: XGenericEventCookie) -> XEvent
fn from(other: XGenericEventCookie) -> XEvent
Converts to this type from the input type.
source§impl PartialEq for XGenericEventCookie
impl PartialEq for XGenericEventCookie
source§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