pub struct UI;Expand description
UI utilities for consistent output formatting
Implementations§
Source§impl UI
impl UI
Sourcepub fn set_verbose(verbose: bool)
pub fn set_verbose(verbose: bool)
Set verbose mode
Sourcepub fn is_verbose() -> bool
pub fn is_verbose() -> bool
Check if verbose mode is enabled
Sourcepub fn progress_done()
pub fn progress_done()
Complete a progress message
Sourcepub fn new_spinner(message: &str) -> SimpleSpinner
pub fn new_spinner(message: &str) -> SimpleSpinner
Create a new spinner (returns a simple message for now)
Auto Trait Implementations§
impl Freeze for UI
impl RefUnwindSafe for UI
impl Send for UI
impl Sync for UI
impl Unpin for UI
impl UnwindSafe for UI
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