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
sourceimpl Clone for XRRMonitorInfo
impl Clone for XRRMonitorInfo
sourcefn clone(&self) -> XRRMonitorInfo
fn clone(&self) -> XRRMonitorInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for XRRMonitorInfo
impl Debug for XRRMonitorInfo
sourceimpl PartialEq<XRRMonitorInfo> for XRRMonitorInfo
impl PartialEq<XRRMonitorInfo> for XRRMonitorInfo
sourcefn 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 ==
. Read more
impl Copy for XRRMonitorInfo
impl StructuralPartialEq for XRRMonitorInfo
Auto Trait Implementations
impl RefUnwindSafe for XRRMonitorInfo
impl !Send for XRRMonitorInfo
impl !Sync for XRRMonitorInfo
impl Unpin for XRRMonitorInfo
impl UnwindSafe for XRRMonitorInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more