[][src]Struct i3status_rs::blocks::custom::Custom

pub struct Custom {
    id: usize,
    update_interval: Update,
    output: TextWidget,
    command: Option<String>,
    on_click: Option<String>,
    cycle: Option<Peekable<Cycle<IntoIter<String>>>>,
    signal: Option<i32>,
    tx_update_request: Sender<Task>,
    pub json: bool,
    hide_when_empty: bool,
    is_empty: bool,
    shell: String,
}

Fields

id: usizeupdate_interval: Updateoutput: TextWidgetcommand: Option<String>on_click: Option<String>cycle: Option<Peekable<Cycle<IntoIter<String>>>>signal: Option<i32>tx_update_request: Sender<Task>json: boolhide_when_empty: boolis_empty: boolshell: String

Trait Implementations

impl Block for Custom[src]

impl ConfigBlock for Custom[src]

type Config = CustomConfig

Auto Trait Implementations

impl !RefUnwindSafe for Custom[src]

impl !Send for Custom[src]

impl !Sync for Custom[src]

impl Unpin for Custom[src]

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