pub struct DisplaySnapshot {
pub display_id: u32,
pub width: i32,
pub height: i32,
pub frame: CGRect,
}Expand description
Plain data describing one display.
Fields§
§display_id: u32§width: i32§height: i32§frame: CGRectTrait Implementations§
Source§impl Clone for DisplaySnapshot
impl Clone for DisplaySnapshot
Source§fn clone(&self) -> DisplaySnapshot
fn clone(&self) -> DisplaySnapshot
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 DisplaySnapshot
impl Debug for DisplaySnapshot
Source§impl PartialEq for DisplaySnapshot
impl PartialEq for DisplaySnapshot
impl Copy for DisplaySnapshot
impl Eq for DisplaySnapshot
impl StructuralPartialEq for DisplaySnapshot
Auto Trait Implementations§
impl Freeze for DisplaySnapshot
impl RefUnwindSafe for DisplaySnapshot
impl Send for DisplaySnapshot
impl Sync for DisplaySnapshot
impl Unpin for DisplaySnapshot
impl UnsafeUnpin for DisplaySnapshot
impl UnwindSafe for DisplaySnapshot
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