Struct termprogress::silent::Silent
source · pub struct Silent;
Expand description
An implementor for the Display
, ProgressBar
, Spinner
, and WithTitle
that does nothing.
It also implements Display::println()
and Display::eprintln()
to do nothing as well.
Trait Implementations§
source§impl Display for Silent
impl Display for Silent
source§fn update_dimensions(&mut self, _: usize)
fn update_dimensions(&mut self, _: usize)
Update the max size if needed
source§impl ProgressBar for Silent
impl ProgressBar for Silent
fn set_progress(&mut self, _: f64)
fn get_progress(&self) -> f64
Auto Trait Implementations§
impl RefUnwindSafe for Silent
impl Send for Silent
impl Sync for Silent
impl Unpin for Silent
impl UnwindSafe for Silent
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