pub struct ScreenInfo {Show 16 fields
pub left: JsUInt,
pub top: JsUInt,
pub width: JsUInt,
pub height: JsUInt,
pub avail_left: JsUInt,
pub avail_top: JsUInt,
pub avail_width: JsUInt,
pub avail_height: JsUInt,
pub device_pixel_ratio: JsFloat,
pub orientation: ScreenOrientation,
pub color_depth: JsUInt,
pub is_extended: bool,
pub is_internal: bool,
pub is_primary: bool,
pub label: String,
pub id: ScreenId,
}Fields§
§left: JsUInt§top: JsUInt§width: JsUInt§height: JsUInt§avail_left: JsUInt§avail_top: JsUInt§avail_width: JsUInt§avail_height: JsUInt§device_pixel_ratio: JsFloat§orientation: ScreenOrientation§color_depth: JsUInt§is_extended: bool§is_internal: bool§is_primary: bool§label: String§id: ScreenIdTrait Implementations§
Source§impl Clone for ScreenInfo
impl Clone for ScreenInfo
Source§fn clone(&self) -> ScreenInfo
fn clone(&self) -> ScreenInfo
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 ScreenInfo
impl Debug for ScreenInfo
Source§impl<'de> Deserialize<'de> for ScreenInfo
impl<'de> Deserialize<'de> for ScreenInfo
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 ScreenInfo
impl PartialEq for ScreenInfo
Source§impl Serialize for ScreenInfo
impl Serialize for ScreenInfo
impl StructuralPartialEq for ScreenInfo
Auto Trait Implementations§
impl Freeze for ScreenInfo
impl RefUnwindSafe for ScreenInfo
impl Send for ScreenInfo
impl Sync for ScreenInfo
impl Unpin for ScreenInfo
impl UnwindSafe for ScreenInfo
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