system-info 0.1.2

Library to get system information
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Memory information.

pub use crate::data::mem::SystemMemory;

impl SystemMemory {
    #[inline(always)]
    ///Fetches system information, if not available returns with all members set to 0.
    pub fn new() -> Self {
        Self {
            total: 0,
            avail: 0,
        }
    }
}