Struct xcb::DisplayInfo
source · pub struct DisplayInfo {
pub host: String,
pub display: i32,
pub screen: i32,
}
Expand description
Display info returned by parse_display
Fields§
§host: String
The hostname
display: i32
The display number
screen: i32
The screen number
Trait Implementations§
source§impl Clone for DisplayInfo
impl Clone for DisplayInfo
source§fn clone(&self) -> DisplayInfo
fn clone(&self) -> DisplayInfo
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 DisplayInfo
impl Debug for DisplayInfo
source§impl Hash for DisplayInfo
impl Hash for DisplayInfo
source§impl Ord for DisplayInfo
impl Ord for DisplayInfo
source§fn cmp(&self, other: &DisplayInfo) -> Ordering
fn cmp(&self, other: &DisplayInfo) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DisplayInfo
impl PartialEq for DisplayInfo
source§impl PartialOrd for DisplayInfo
impl PartialOrd for DisplayInfo
impl Eq for DisplayInfo
impl StructuralPartialEq for DisplayInfo
Auto Trait Implementations§
impl Freeze for DisplayInfo
impl RefUnwindSafe for DisplayInfo
impl Send for DisplayInfo
impl Sync for DisplayInfo
impl Unpin for DisplayInfo
impl UnwindSafe for DisplayInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)