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