Struct winit::MonitorId
[−]
[src]
pub struct MonitorId { /* fields omitted */ }
Identifier for a monitor.
Methods
impl MonitorId
[src]
fn get_name(&self) -> Option<String>
[src]
Returns a human-readable name of the monitor.
Returns None
if the monitor doesn't exist anymore.
fn get_dimensions(&self) -> (u32, u32)
[src]
Returns the number of pixels currently displayed on the monitor.
fn get_position(&self) -> (u32, u32)
[src]
Returns the top-left corner position of the monitor relative to the larger full screen area.
Trait Implementations
impl Clone for MonitorId
[src]
fn clone(&self) -> MonitorId
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more