[][src]Struct i3status_rs::blocks::keyboard_layout::KeyboardLayout

pub struct KeyboardLayout {
    id: usize,
    output: TextWidget,
    monitor: Box<dyn KeyboardLayoutMonitor>,
    update_interval: Option<Duration>,
    format: FormatTemplate,
    mappings: Option<HashMap<String, String>>,
}

Fields

id: usizeoutput: TextWidgetmonitor: Box<dyn KeyboardLayoutMonitor>update_interval: Option<Duration>format: FormatTemplatemappings: Option<HashMap<String, String>>

Trait Implementations

impl Block for KeyboardLayout[src]

impl ConfigBlock for KeyboardLayout[src]

type Config = KeyboardLayoutConfig

Auto Trait Implementations

impl !RefUnwindSafe for KeyboardLayout[src]

impl !Send for KeyboardLayout[src]

impl !Sync for KeyboardLayout[src]

impl Unpin for KeyboardLayout[src]

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