pub struct Theme {
pub bar_filled: char,
pub bar_empty: char,
pub spinner_frames: &'static [char],
}Expand description
A theme for customizing the appearance of the TerminalFrontend.
This struct dictates the characters used to paint the progress indicators. It provides defaults suitable for modern terminals supporting UTF-8.
Fields§
§bar_filled: charThe character used for the filled portion of a progress bar (e.g., ‘█’).
bar_empty: charThe character used for the empty portion of a progress bar (e.g., ‘░’).
spinner_frames: &'static [char]The sequence of characters used to animate spinner frames.
Implementations§
Trait Implementations§
impl Eq for Theme
impl StructuralPartialEq for Theme
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnsafeUnpin for Theme
impl UnwindSafe for Theme
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