[][src]Struct i3status_rs::blocks::cpu::Cpu

pub struct Cpu {
    id: usize,
    output: TextWidget,
    prev_util: Vec<(u64, u64)>,
    update_interval: Duration,
    minimum_info: u64,
    minimum_warning: u64,
    minimum_critical: u64,
    format: FormatTemplate,
}

Fields

id: usizeoutput: TextWidgetprev_util: Vec<(u64, u64)>update_interval: Durationminimum_info: u64minimum_warning: u64minimum_critical: u64format: FormatTemplate

Trait Implementations

impl Block for Cpu[src]

impl ConfigBlock for Cpu[src]

type Config = CpuConfig

Auto Trait Implementations

impl !RefUnwindSafe for Cpu[src]

impl !Send for Cpu[src]

impl !Sync for Cpu[src]

impl Unpin for Cpu[src]

impl UnwindSafe for Cpu[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.