Struct x11::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<XRRMonitorInfo> for XRRMonitorInfo
impl PartialEq<XRRMonitorInfo> 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 ==
.