pub struct MonitorId(_);
Expand description
Identifier for a monitor.
Implementations§
source§impl MonitorId
impl MonitorId
sourcepub fn get_native_identifier(&self) -> NativeMonitorId
pub fn get_native_identifier(&self) -> NativeMonitorId
Returns the native platform identifier for this monitor.
sourcepub fn get_dimensions(&self) -> (u32, u32)
pub fn get_dimensions(&self) -> (u32, u32)
Returns the number of pixels currently displayed on the monitor.
Auto Trait Implementations§
impl RefUnwindSafe for MonitorId
impl Send for MonitorId
impl Sync for MonitorId
impl Unpin for MonitorId
impl UnwindSafe for MonitorId
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