Struct x11::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
sourceimpl AsMut<XGenericEventCookie> for XEvent
impl AsMut<XGenericEventCookie> for XEvent
sourcefn 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.
sourceimpl AsRef<XGenericEventCookie> for XEvent
impl AsRef<XGenericEventCookie> for XEvent
sourcefn as_ref(&self) -> &XGenericEventCookie
fn as_ref(&self) -> &XGenericEventCookie
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for XGenericEventCookie
impl Clone for XGenericEventCookie
sourcefn clone(&self) -> XGenericEventCookie
fn clone(&self) -> XGenericEventCookie
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
sourceimpl Debug for XGenericEventCookie
impl Debug for XGenericEventCookie
sourceimpl<'a> From<&'a XEvent> for XGenericEventCookie
impl<'a> From<&'a XEvent> for XGenericEventCookie
sourcefn from(xevent: &'a XEvent) -> XGenericEventCookie
fn from(xevent: &'a XEvent) -> XGenericEventCookie
Converts to this type from the input type.
sourceimpl<'a> From<&'a XGenericEventCookie> for XEvent
impl<'a> From<&'a XGenericEventCookie> for XEvent
sourcefn from(other: &'a XGenericEventCookie) -> XEvent
fn from(other: &'a XGenericEventCookie) -> XEvent
Converts to this type from the input type.
sourceimpl From<XEvent> for XGenericEventCookie
impl From<XEvent> for XGenericEventCookie
sourcefn from(xevent: XEvent) -> XGenericEventCookie
fn from(xevent: XEvent) -> XGenericEventCookie
Converts to this type from the input type.
sourceimpl From<XGenericEventCookie> for XEvent
impl From<XGenericEventCookie> for XEvent
sourcefn from(other: XGenericEventCookie) -> XEvent
fn from(other: XGenericEventCookie) -> XEvent
Converts to this type from the input type.
sourceimpl PartialEq<XGenericEventCookie> for XGenericEventCookie
impl PartialEq<XGenericEventCookie> for XGenericEventCookie
sourcefn 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 ==
. Read more
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
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