pub struct ScreenInfo {
pub screen_id: String,
pub name: String,
pub is_primary: bool,
pub origin_x: i32,
pub origin_y: i32,
pub native_width: u32,
pub native_height: u32,
pub scale_factor: f32,
}Fields§
§screen_id: String§name: String§is_primary: bool§origin_x: i32§origin_y: i32§native_width: u32§native_height: u32§scale_factor: f32Trait 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 (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 ScreenInfo
impl Debug for ScreenInfo
Source§impl PartialEq for ScreenInfo
impl PartialEq for ScreenInfo
Source§fn eq(&self, other: &ScreenInfo) -> bool
fn eq(&self, other: &ScreenInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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