Struct x11_dl::xrandr::XRROutputInfo
source · #[repr(C)]pub struct XRROutputInfo {Show 15 fields
pub timestamp: Time,
pub crtc: RRCrtc,
pub name: *mut c_char,
pub nameLen: c_int,
pub mm_width: c_ulong,
pub mm_height: c_ulong,
pub connection: Connection,
pub subpixel_order: SubpixelOrder,
pub ncrtc: c_int,
pub crtcs: *mut RRCrtc,
pub nclone: c_int,
pub clones: *mut RROutput,
pub nmode: c_int,
pub npreferred: c_int,
pub modes: *mut RRMode,
}
Fields§
§timestamp: Time
§crtc: RRCrtc
§name: *mut c_char
§nameLen: c_int
§mm_width: c_ulong
§mm_height: c_ulong
§connection: Connection
§subpixel_order: SubpixelOrder
§ncrtc: c_int
§crtcs: *mut RRCrtc
§nclone: c_int
§clones: *mut RROutput
§nmode: c_int
§npreferred: c_int
§modes: *mut RRMode
Trait Implementations§
source§impl Clone for XRROutputInfo
impl Clone for XRROutputInfo
source§fn clone(&self) -> XRROutputInfo
fn clone(&self) -> XRROutputInfo
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 XRROutputInfo
impl Debug for XRROutputInfo
source§impl PartialEq for XRROutputInfo
impl PartialEq for XRROutputInfo
source§fn eq(&self, other: &XRROutputInfo) -> bool
fn eq(&self, other: &XRROutputInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XRROutputInfo
impl StructuralPartialEq for XRROutputInfo
Auto Trait Implementations§
impl Freeze for XRROutputInfo
impl RefUnwindSafe for XRROutputInfo
impl !Send for XRROutputInfo
impl !Sync for XRROutputInfo
impl Unpin for XRROutputInfo
impl UnwindSafe for XRROutputInfo
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