pub struct ScreenConfig {Show 13 fields
pub width: Option<u32>,
pub height: Option<u32>,
pub avail_width: Option<u32>,
pub avail_height: Option<u32>,
pub avail_left: Option<i32>,
pub avail_top: Option<i32>,
pub left: Option<i32>,
pub top: Option<i32>,
pub color_depth: Option<u32>,
pub pixel_depth: Option<u32>,
pub is_extended: Option<bool>,
pub orientation_type: Option<String>,
pub orientation_angle: Option<u16>,
}Expand description
Optional screen fingerprint overrides.
Fields§
§width: Option<u32>§height: Option<u32>§avail_width: Option<u32>§avail_height: Option<u32>§avail_left: Option<i32>§avail_top: Option<i32>§left: Option<i32>§top: Option<i32>§color_depth: Option<u32>§pixel_depth: Option<u32>§is_extended: Option<bool>§orientation_type: Option<String>§orientation_angle: Option<u16>Trait Implementations§
Source§impl Clone for ScreenConfig
impl Clone for ScreenConfig
Source§fn clone(&self) -> ScreenConfig
fn clone(&self) -> ScreenConfig
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 ScreenConfig
impl Debug for ScreenConfig
Source§impl Default for ScreenConfig
impl Default for ScreenConfig
Source§fn default() -> ScreenConfig
fn default() -> ScreenConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScreenConfig
impl<'de> Deserialize<'de> for ScreenConfig
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
Source§impl PartialEq for ScreenConfig
impl PartialEq for ScreenConfig
Source§fn eq(&self, other: &ScreenConfig) -> bool
fn eq(&self, other: &ScreenConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScreenConfig
impl Serialize for ScreenConfig
impl Eq for ScreenConfig
impl StructuralPartialEq for ScreenConfig
Auto Trait Implementations§
impl Freeze for ScreenConfig
impl RefUnwindSafe for ScreenConfig
impl Send for ScreenConfig
impl Sync for ScreenConfig
impl Unpin for ScreenConfig
impl UnsafeUnpin for ScreenConfig
impl UnwindSafe for ScreenConfig
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