Struct penrose_ui::bar::widgets::DefaultUi
source · pub struct DefaultUi { /* private fields */ }
Expand description
The default UI style of a WorkspacesWidget.
Trait Implementations§
source§impl PartialEq for DefaultUi
impl PartialEq for DefaultUi
source§impl WorkspacesUi for DefaultUi
impl WorkspacesUi for DefaultUi
source§fn background_color(&self) -> Color
fn background_color(&self) -> Color
The background color to be used for the parent WorkspacesWidget.
source§fn colors_for_workspace(
&self,
_: &WsMeta,
focus_state: FocusState,
screen_has_focus: bool,
) -> (Color, Color)
fn colors_for_workspace( &self, _: &WsMeta, focus_state: FocusState, screen_has_focus: bool, ) -> (Color, Color)
The foreground and background color to be used for rendering a given workspace. Read more
impl StructuralPartialEq for DefaultUi
Auto Trait Implementations§
impl Freeze for DefaultUi
impl RefUnwindSafe for DefaultUi
impl Send for DefaultUi
impl Sync for DefaultUi
impl Unpin for DefaultUi
impl UnwindSafe for DefaultUi
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