x-win 5.6.1

This package allows you to retrieve precise information about active and open windows on Windows, MacOS, and Linux. You can obtain the position, size, title, and other memory of windows.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![deny(unused_imports)]

/**
 * Struct to store usage data of the window
 */
#[derive(Debug, Clone)]
pub struct UsageInfo {
  pub memory: u32,
}

impl UsageInfo {
  pub fn new(memory: u32) -> Self {
    Self { memory }
  }
}