Crates.io | screen_size |
lib.rs | screen_size |
version | 0.1.0 |
source | src |
created_at | 2024-09-24 11:26:34.607388 |
updated_at | 2024-09-24 11:26:34.607388 |
description | Gets the monitor/screen size for desktop |
homepage | |
repository | https://github.com/emmabritton/screen_size |
max_upload_size | |
id | 1385116 |
size | 16,627 |
Get monitor/screen information on desktop
screen_size = "0.1"
let (width, height) = get_primary_screen_size()?;