pub struct PhysicalDisplay {
pub metadata: PhysicalDisplayMetadata,
pub state: PhysicalDisplayState,
}Expand description
A physical monitor and its current state.
Fields§
§metadata: PhysicalDisplayMetadataPhysical monitor metadata.
state: PhysicalDisplayStateCurrent physical monitor state.
Trait Implementations§
Source§impl Clone for PhysicalDisplay
impl Clone for PhysicalDisplay
Source§fn clone(&self) -> PhysicalDisplay
fn clone(&self) -> PhysicalDisplay
Returns a duplicate 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 PhysicalDisplay
impl Debug for PhysicalDisplay
Source§impl Default for PhysicalDisplay
impl Default for PhysicalDisplay
Source§fn default() -> PhysicalDisplay
fn default() -> PhysicalDisplay
Returns the “default value” for a type. Read more
Source§impl Ord for PhysicalDisplay
impl Ord for PhysicalDisplay
Source§fn cmp(&self, other: &PhysicalDisplay) -> Ordering
fn cmp(&self, other: &PhysicalDisplay) -> 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 PhysicalDisplay
impl PartialEq for PhysicalDisplay
Source§impl PartialOrd for PhysicalDisplay
impl PartialOrd for PhysicalDisplay
impl Eq for PhysicalDisplay
impl StructuralPartialEq for PhysicalDisplay
Auto Trait Implementations§
impl Freeze for PhysicalDisplay
impl RefUnwindSafe for PhysicalDisplay
impl Send for PhysicalDisplay
impl Sync for PhysicalDisplay
impl Unpin for PhysicalDisplay
impl UnsafeUnpin for PhysicalDisplay
impl UnwindSafe for PhysicalDisplay
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