pub struct StatusBarConfig {
pub bg: Rgb,
pub left_fg: Rgb,
pub center_fg: Rgb,
pub right_fg: Rgb,
}Expand description
Configuration for the status bar widget.
Fields§
§bg: RgbBackground color.
left_fg: RgbLeft section text color.
center_fg: RgbCenter section text color.
right_fg: RgbRight section text color.
Trait Implementations§
Source§impl Clone for StatusBarConfig
impl Clone for StatusBarConfig
Source§fn clone(&self) -> StatusBarConfig
fn clone(&self) -> StatusBarConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatusBarConfig
impl Debug for StatusBarConfig
Auto Trait Implementations§
impl Freeze for StatusBarConfig
impl RefUnwindSafe for StatusBarConfig
impl Send for StatusBarConfig
impl Sync for StatusBarConfig
impl Unpin for StatusBarConfig
impl UnwindSafe for StatusBarConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more