#[non_exhaustive]pub struct Display {
pub color_depth: Option<i64>,
pub physical_height: Option<i64>,
pub physical_orientation: Option<i64>,
pub physical_width: Option<i64>,
pub scale_factor: Option<i64>,
}Expand description
Display
The Display object contains information about the physical or virtual display connected to a computer system.
[] Category: | Name: display
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.color_depth: Option<i64>Color Depth
The numeric color depth.
optional
physical_height: Option<i64>Physical Height
The numeric physical height of display.
optional
physical_orientation: Option<i64>Physical Orientation
The numeric physical orientation of display.
optional
physical_width: Option<i64>Physical Width
The numeric physical width of display.
optional
scale_factor: Option<i64>Scale Factor
The numeric scale factor of display.
optional
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Display
impl<'de> Deserialize<'de> for Display
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Display
Auto Trait Implementations§
impl Freeze for Display
impl RefUnwindSafe for Display
impl Send for Display
impl Sync for Display
impl Unpin for Display
impl UnwindSafe for Display
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