pub struct Screen {}
Expand description
Information about the screen and monitors
Implementations§
§impl Screen
impl Screen
pub fn get_monitors() -> Vec<Monitor, Global>
pub fn get_monitors() -> Vec<Monitor, Global>
Returns a vector of all the monitors
on the system.
pub fn get_display_rect() -> Rect
pub fn get_display_rect() -> Rect
Returns the bounding rectangle of the total virtual screen space in pixels.
Auto Trait Implementations§
impl RefUnwindSafe for Screen
impl Send for Screen
impl Sync for Screen
impl Unpin for Screen
impl UnwindSafe for Screen
Blanket Implementations§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.