Struct swayipc_async::ColorableBarPart
source · [−]#[non_exhaustive]pub struct ColorableBarPart {Show 21 fields
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)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.background: String
The color to use for the bar background on unfocused outputs.
statusline: String
The color to use for the status line text on unfocused outputs.
separator: String
The color to use for the separator text on unfocused outputs.
focused_background: String
The color to use for the background of the bar on the focused output.
focused_statusline: String
The color to use for the status line text on the focused output.
focused_separator: String
The color to use for the separator text on the focused output.
focused_workspace_text: String
The color to use for the text of the focused workspace button.
focused_workspace_bg: String
The color to use for the background of the focused workspace button.
focused_workspace_border: String
The color to use for the border of the focused workspace button.
active_workspace_text: String
The color to use for the text of the workspace buttons for the visible workspaces on unfocused outputs.
active_workspace_bg: String
The color to use for the background of the workspace buttons for the visible workspaces on unfocused outputs.
active_workspace_border: String
The color to use for the border of the workspace buttons for the visible workspaces on unfocused outputs.
inactive_workspace_text: String
The color to use for the text of the workspace buttons for workspaces that are not visible.
inactive_workspace_bg: String
The color to use for the background of the workspace buttons for workspaces that are not visible.
inactive_workspace_border: String
The color to use for the border of the workspace buttons for workspaces that are not visible.
urgent_workspace_text: String
The color to use for the text of the workspace buttons for workspaces that contain an urgent view.
urgent_workspace_bg: String
The color to use for the background of the workspace buttons for workspaces that contain an urgent view.
urgent_workspace_border: String
The color to use for the border of the workspace buttons for workspaces that contain an urgent view.
binding_mode_text: String
The color to use for the text of the binding mode indicator.
binding_mode_bg: String
The color to use for the background of the binding mode indicator.
binding_mode_border: String
The color to use for the border of the binding mode indicator.
Trait Implementations
sourceimpl Debug for ColorableBarPart
impl Debug for ColorableBarPart
sourceimpl<'de> Deserialize<'de> for ColorableBarPart
impl<'de> Deserialize<'de> for ColorableBarPart
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<ColorableBarPart, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ColorableBarPart, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ColorableBarPart
impl Send for ColorableBarPart
impl Sync for ColorableBarPart
impl Unpin for ColorableBarPart
impl UnwindSafe for ColorableBarPart
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more