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