pub struct DesktopInfo {
pub bounds: Rect,
pub monitors: Vec<MonitorInfo>,
pub grids: Vec<IconGrid>,
}Expand description
A read-only snapshot in physical virtual-screen pixels. Gaps between monitors
are included in bounds, but are never usable grid cells.
Fields§
§bounds: Rect§monitors: Vec<MonitorInfo>§grids: Vec<IconGrid>Trait Implementations§
Source§impl Clone for DesktopInfo
impl Clone for DesktopInfo
Source§fn clone(&self) -> DesktopInfo
fn clone(&self) -> DesktopInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DesktopInfo
impl Debug for DesktopInfo
Source§impl PartialEq for DesktopInfo
impl PartialEq for DesktopInfo
Source§fn eq(&self, other: &DesktopInfo) -> bool
fn eq(&self, other: &DesktopInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DesktopInfo
Auto Trait Implementations§
impl Freeze for DesktopInfo
impl RefUnwindSafe for DesktopInfo
impl Send for DesktopInfo
impl Sync for DesktopInfo
impl Unpin for DesktopInfo
impl UnsafeUnpin for DesktopInfo
impl UnwindSafe for DesktopInfo
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