Struct x11_dl::xinerama::XineramaScreenInfo
source · #[repr(C)]pub struct XineramaScreenInfo {
pub screen_number: c_int,
pub x_org: c_short,
pub y_org: c_short,
pub width: c_short,
pub height: c_short,
}
Fields§
§screen_number: c_int
§x_org: c_short
§y_org: c_short
§width: c_short
§height: c_short
Trait Implementations§
source§impl Clone for XineramaScreenInfo
impl Clone for XineramaScreenInfo
source§fn clone(&self) -> XineramaScreenInfo
fn clone(&self) -> XineramaScreenInfo
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 XineramaScreenInfo
impl Debug for XineramaScreenInfo
source§impl PartialEq for XineramaScreenInfo
impl PartialEq for XineramaScreenInfo
source§fn eq(&self, other: &XineramaScreenInfo) -> bool
fn eq(&self, other: &XineramaScreenInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XineramaScreenInfo
impl StructuralPartialEq for XineramaScreenInfo
Auto Trait Implementations§
impl Freeze for XineramaScreenInfo
impl RefUnwindSafe for XineramaScreenInfo
impl Send for XineramaScreenInfo
impl Sync for XineramaScreenInfo
impl Unpin for XineramaScreenInfo
impl UnwindSafe for XineramaScreenInfo
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