pub struct DisplaySource {
pub id: SourceId,
pub name: String,
pub width: u32,
pub height: u32,
pub scale_factor_milli: u32,
pub is_primary: bool,
}Fields§
§id: SourceId§name: String§width: u32§height: u32§scale_factor_milli: u32§is_primary: boolTrait Implementations§
Source§impl Clone for DisplaySource
impl Clone for DisplaySource
Source§fn clone(&self) -> DisplaySource
fn clone(&self) -> DisplaySource
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 DisplaySource
impl Debug for DisplaySource
impl Eq for DisplaySource
Source§impl PartialEq for DisplaySource
impl PartialEq for DisplaySource
Source§fn eq(&self, other: &DisplaySource) -> bool
fn eq(&self, other: &DisplaySource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DisplaySource
Auto Trait Implementations§
impl Freeze for DisplaySource
impl RefUnwindSafe for DisplaySource
impl Send for DisplaySource
impl Sync for DisplaySource
impl Unpin for DisplaySource
impl UnsafeUnpin for DisplaySource
impl UnwindSafe for DisplaySource
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