[][src]Struct i3status_rs::config::Config

pub struct Config {
    pub icons: Icons,
    pub theme: Theme,
    pub icons_format: String,
    pub scrolling: Scrolling,
    pub blocks: Vec<(String, Value)>,
}

Fields

icons: Iconstheme: Themeicons_format: Stringscrolling: Scrolling

Direction of scrolling, "natural" or "reverse".

Configuring natural scrolling on input devices changes the way i3status-rust processes mouse wheel events: pushing the wheen away now is interpreted as downward motion which is undesired for sliders. Use "natural" to invert this.

blocks: Vec<(String, Value)>

Implementations

impl Config[src]

fn default_icons_format() -> String[src]

Trait Implementations

impl Clone for Config[src]

impl Debug for Config[src]

impl Default for Config[src]

impl<'de> Deserialize<'de> for Config[src]

Auto Trait Implementations

impl RefUnwindSafe for Config[src]

impl Send for Config[src]

impl Sync for Config[src]

impl Unpin for Config[src]

impl UnwindSafe for Config[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.