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