Struct x11::xlib::XClientMessageEvent
source · #[repr(C)]pub struct XClientMessageEvent {
pub type_: c_int,
pub serial: c_ulong,
pub send_event: Bool,
pub display: *mut Display,
pub window: Window,
pub message_type: Atom,
pub format: c_int,
pub data: ClientMessageData,
}
Fields§
§type_: c_int
§serial: c_ulong
§send_event: Bool
§display: *mut Display
§window: Window
§message_type: Atom
§format: c_int
§data: ClientMessageData
Trait Implementations§
source§impl AsMut<XClientMessageEvent> for XEvent
impl AsMut<XClientMessageEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XClientMessageEvent
fn as_mut(&mut self) -> &mut XClientMessageEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<XClientMessageEvent> for XEvent
impl AsRef<XClientMessageEvent> for XEvent
source§fn as_ref(&self) -> &XClientMessageEvent
fn as_ref(&self) -> &XClientMessageEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for XClientMessageEvent
impl Clone for XClientMessageEvent
source§fn clone(&self) -> XClientMessageEvent
fn clone(&self) -> XClientMessageEvent
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 XClientMessageEvent
impl Debug for XClientMessageEvent
source§impl<'a> From<&'a XClientMessageEvent> for XEvent
impl<'a> From<&'a XClientMessageEvent> for XEvent
source§fn from(other: &'a XClientMessageEvent) -> XEvent
fn from(other: &'a XClientMessageEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XClientMessageEvent
impl<'a> From<&'a XEvent> for XClientMessageEvent
source§fn from(xevent: &'a XEvent) -> XClientMessageEvent
fn from(xevent: &'a XEvent) -> XClientMessageEvent
Converts to this type from the input type.
source§impl From<XClientMessageEvent> for XEvent
impl From<XClientMessageEvent> for XEvent
source§fn from(other: XClientMessageEvent) -> XEvent
fn from(other: XClientMessageEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XEvent> for XClientMessageEvent
impl From<XEvent> for XClientMessageEvent
source§fn from(xevent: XEvent) -> XClientMessageEvent
fn from(xevent: XEvent) -> XClientMessageEvent
Converts to this type from the input type.
source§impl PartialEq for XClientMessageEvent
impl PartialEq for XClientMessageEvent
source§fn eq(&self, other: &XClientMessageEvent) -> bool
fn eq(&self, other: &XClientMessageEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XClientMessageEvent
impl StructuralPartialEq for XClientMessageEvent
Auto Trait Implementations§
impl Freeze for XClientMessageEvent
impl RefUnwindSafe for XClientMessageEvent
impl !Send for XClientMessageEvent
impl !Sync for XClientMessageEvent
impl Unpin for XClientMessageEvent
impl UnwindSafe for XClientMessageEvent
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