[][src]Struct i3status_rs::blocks::temperature::Temperature

pub struct Temperature {
    id: usize,
    text: TextWidget,
    output: String,
    collapsed: bool,
    update_interval: Duration,
    scale: TemperatureScale,
    maximum_good: i64,
    maximum_idle: i64,
    maximum_info: i64,
    maximum_warning: i64,
    format: FormatTemplate,
    chip: Option<String>,
    inputs: Option<Vec<String>>,
    fallback_required: bool,
}

Fields

id: usizetext: TextWidgetoutput: Stringcollapsed: boolupdate_interval: Durationscale: TemperatureScalemaximum_good: i64maximum_idle: i64maximum_info: i64maximum_warning: i64format: FormatTemplatechip: Option<String>inputs: Option<Vec<String>>fallback_required: bool

Trait Implementations

impl Block for Temperature[src]

impl ConfigBlock for Temperature[src]

type Config = TemperatureConfig

Auto Trait Implementations

impl !RefUnwindSafe for Temperature[src]

impl !Send for Temperature[src]

impl !Sync for Temperature[src]

impl Unpin for Temperature[src]

impl UnwindSafe for Temperature[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.