x_win/common/x_win_struct/
usage_info.rs

1#![deny(unused_imports)]
2
3/**
4 * Struct to store usage data of the window
5 */
6#[derive(Debug, Clone)]
7pub struct UsageInfo {
8  pub memory: u32,
9}
10
11impl UsageInfo {
12  pub fn new(memory: u32) -> Self {
13    Self { memory }
14  }
15}