Struct gdk_x11_sys::xlib::XGenericEventCookie
[−]#[repr(C)]pub struct XGenericEventCookie {
pub type_: i32,
pub serial: u64,
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: u64
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 · sourcefn 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 ==
. Read more
fn ne(&self, other: &XGenericEventCookie) -> bool
fn ne(&self, other: &XGenericEventCookie) -> bool
This method tests for !=
.
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
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