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<XClientMessageEvent> for XClientMessageEvent
impl PartialEq<XClientMessageEvent> 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 ==
.