Struct libc_interface::sysinfo [−][src]
#[repr(C)]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; 8], }
Fields
uptime: c_long
loads: [c_ulong; 3]
totalram: c_ulong
freeram: c_ulong
bufferram: c_ulong
totalswap: c_ulong
freeswap: c_ulong
procs: c_ushort
pad: c_ushort
totalhigh: c_ulong
freehigh: c_ulong
mem_unit: c_uint
_f: [c_char; 8]
Trait Implementations
impl Copy for sysinfo[src]
impl Copy for sysinfoimpl Clone for sysinfo[src]
impl Clone for sysinfofn clone(&self) -> sysinfo[src]
fn clone(&self) -> sysinfoReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for sysinfo[src]
impl PartialEq for sysinfofn eq(&self, other: &Self) -> bool[src]
fn eq(&self, other: &Self) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for sysinfo[src]
impl Eq for sysinfo