Struct x11_dl::xrandr::XRRMonitorInfo
source · #[repr(C)]pub struct XRRMonitorInfo {
pub name: Atom,
pub primary: Bool,
pub automatic: Bool,
pub noutput: c_int,
pub x: c_int,
pub y: c_int,
pub width: c_int,
pub height: c_int,
pub mwidth: c_int,
pub mheight: c_int,
pub outputs: *mut RROutput,
}
Fields§
§name: Atom
§primary: Bool
§automatic: Bool
§noutput: c_int
§x: c_int
§y: c_int
§width: c_int
§height: c_int
§mwidth: c_int
§mheight: c_int
§outputs: *mut RROutput
Trait Implementations§
source§impl Clone for XRRMonitorInfo
impl Clone for XRRMonitorInfo
source§fn clone(&self) -> XRRMonitorInfo
fn clone(&self) -> XRRMonitorInfo
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 XRRMonitorInfo
impl Debug for XRRMonitorInfo
source§impl PartialEq for XRRMonitorInfo
impl PartialEq for XRRMonitorInfo
source§fn eq(&self, other: &XRRMonitorInfo) -> bool
fn eq(&self, other: &XRRMonitorInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XRRMonitorInfo
impl StructuralPartialEq for XRRMonitorInfo
Auto Trait Implementations§
impl Freeze for XRRMonitorInfo
impl RefUnwindSafe for XRRMonitorInfo
impl !Send for XRRMonitorInfo
impl !Sync for XRRMonitorInfo
impl Unpin for XRRMonitorInfo
impl UnwindSafe for XRRMonitorInfo
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