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
#![deny(unused_imports)]

/**
 * Struct to store position and size of the window
 */
#[derive(Debug, Clone)]
pub struct WindowPosition {
  pub x: i32,
  pub y: i32,
  pub width: i32,
  pub height: i32,
  pub is_full_screen: bool,
}

impl WindowPosition {
  pub fn new(x: i32, y: i32, width: i32, height: i32, is_full_screen: bool) -> Self {
    Self {
      x,
      y,
      width,
      height,
      is_full_screen,
    }
  }
}