Struct swayipc_async::ColorableBarPart[][src]

#[non_exhaustive]pub struct ColorableBarPart {
    pub background: String,
    pub statusline: String,
    pub separator: String,
    pub focused_background: String,
    pub focused_statusline: String,
    pub focused_separator: String,
    pub focused_workspace_text: String,
    pub focused_workspace_bg: String,
    pub focused_workspace_border: String,
    pub active_workspace_text: String,
    pub active_workspace_bg: String,
    pub active_workspace_border: String,
    pub inactive_workspace_text: String,
    pub inactive_workspace_bg: String,
    pub inactive_workspace_border: String,
    pub urgent_workspace_text: String,
    pub urgent_workspace_bg: String,
    pub urgent_workspace_border: String,
    pub binding_mode_text: String,
    pub binding_mode_bg: String,
    pub binding_mode_border: String,
}

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
background: Stringstatusline: Stringseparator: Stringfocused_background: Stringfocused_statusline: Stringfocused_separator: Stringfocused_workspace_text: Stringfocused_workspace_bg: Stringfocused_workspace_border: Stringactive_workspace_text: Stringactive_workspace_bg: Stringactive_workspace_border: Stringinactive_workspace_text: Stringinactive_workspace_bg: Stringinactive_workspace_border: Stringurgent_workspace_text: Stringurgent_workspace_bg: Stringurgent_workspace_border: Stringbinding_mode_text: Stringbinding_mode_bg: Stringbinding_mode_border: String

Trait Implementations

impl Debug for ColorableBarPart[src]

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

Auto Trait Implementations

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, 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.