#size #desktop #screen #primary #monitor-screen

screen_size

Gets the monitor/screen size for desktop

1 unstable release

0.1.0 Sep 24, 2024

#9 in #primary


Used in pixels-graphics-lib

Custom license

7KB
73 lines

Screen Size

Get monitor/screen information on desktop

Usage

Cargo

screen_size = "0.1"

Rust

let (width, height) = get_primary_screen_size()?;

Dependencies

~0.2–1.1MB
~22K SLoC