Struct libc::sysinfo
[−]
[src]
pub struct sysinfo {
pub uptime: c_long,
pub loads: [c_ulong; 3],
pub totalram: c_ulong,
pub freeram: c_ulong,
pub sharedram: c_ulong,
pub bufferram: c_ulong,
pub totalswap: c_ulong,
pub freeswap: c_ulong,
pub procs: c_ushort,
pub pad: c_ushort,
pub totalhigh: c_ulong,
pub freehigh: c_ulong,
pub mem_unit: c_uint,
pub _f: [c_char; 0],
}Fields
uptime | |
loads | |
totalram | |
freeram | |
sharedram | |
bufferram | |
totalswap | |
freeswap | |
procs | |
pad | |
totalhigh | |
freehigh | |
mem_unit | |
_f |
Trait Implementations
impl Copy for sysinfo[src]
impl Clone for sysinfo[src]
fn clone(&self) -> sysinfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more