[−][src]Struct i3status_rs::blocks::memory::Memstate
Fields
mem_total: (u64, bool)
mem_free: (u64, bool)
buffers: (u64, bool)
cached: (u64, bool)
s_reclaimable: (u64, bool)
shmem: (u64, bool)
swap_total: (u64, bool)
swap_free: (u64, bool)
Implementations
impl Memstate
[src]
fn mem_total(&self) -> u64
[src]
fn mem_free(&self) -> u64
[src]
fn buffers(&self) -> u64
[src]
fn cached(&self) -> u64
[src]
fn s_reclaimable(&self) -> u64
[src]
fn shmem(&self) -> u64
[src]
fn swap_total(&self) -> u64
[src]
fn swap_free(&self) -> u64
[src]
fn new() -> Self
[src]
fn done(&self) -> bool
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Memstate
[src]
impl Send for Memstate
[src]
impl Sync for Memstate
[src]
impl Unpin for Memstate
[src]
impl UnwindSafe for Memstate
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,