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