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 for XScreenSaverNotifyEvent
impl PartialEq 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 ==
.impl Copy for XScreenSaverNotifyEvent
impl StructuralPartialEq for XScreenSaverNotifyEvent
Auto Trait Implementations§
impl Freeze for XScreenSaverNotifyEvent
impl RefUnwindSafe for XScreenSaverNotifyEvent
impl !Send for XScreenSaverNotifyEvent
impl !Sync for XScreenSaverNotifyEvent
impl Unpin for XScreenSaverNotifyEvent
impl UnwindSafe for XScreenSaverNotifyEvent
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