[−][src]Struct i3status_rs::blocks::cpu::Cpu
Fields
id: usizeoutput: TextWidgetprev_util: Vec<(u64, u64)>update_interval: Durationminimum_info: u64minimum_warning: u64minimum_critical: u64format: FormatTemplateTrait Implementations
impl Block for Cpu[src]
fn update(&mut self) -> Result<Option<Update>, Error>[src]
fn view(&self) -> Vec<&dyn I3BarWidget>[src]
fn id(&self) -> usize[src]
fn signal(&mut self, _signal: i32) -> Result<(), Error>[src]
fn click(&mut self, _event: &I3BarEvent) -> Result<(), Error>[src]
impl ConfigBlock for Cpu[src]
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]
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, 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>,