Struct libc_interface::sysinfo [−][src]
#[repr(C)]pub struct sysinfo { pub uptime: i64, pub loads: [u64; 3], pub totalram: u64, pub freeram: u64, pub sharedram: u64, pub bufferram: u64, pub totalswap: u64, pub freeswap: u64, pub procs: c_ushort, pub pad: c_ushort, pub totalhigh: u64, pub freehigh: u64, pub mem_unit: c_uint, pub _f: [c_char; 0], }
Fields
uptime: i64
loads: [u64; 3]
totalram: u64
freeram: u64
bufferram: u64
totalswap: u64
freeswap: u64
procs: c_ushort
pad: c_ushort
totalhigh: u64
freehigh: u64
mem_unit: c_uint
_f: [c_char; 0]
Trait Implementations
impl Copy for sysinfo
[src]
impl Copy for sysinfo
impl Clone for sysinfo
[src]
impl Clone for sysinfo
fn clone(&self) -> sysinfo
[src]
fn clone(&self) -> sysinfo
Returns 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 sysinfo
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for sysinfo
[src]
impl Eq for sysinfo