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 process information of the window
 */
#[derive(Debug, Clone)]
#[repr(C)]
pub struct ProcessInfo {
  pub process_id: u32,
  pub path: String,
  pub name: String,
  pub exec_name: String,
}

impl ProcessInfo {
  pub fn new(process_id: u32, path: String, name: String, exec_name: String) -> Self {
    Self {
      process_id,
      path,
      name,
      exec_name,
    }
  }
}