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