pub struct ProgressSet {
pub multi: MultiProgress,
pub map: RefCell<HashMap<&'static str, WeakProgressBar>>,
pub disabled: &'static [&'static str],
}Fields§
§multi: MultiProgress§map: RefCell<HashMap<&'static str, WeakProgressBar>>§disabled: &'static [&'static str]Implementations§
Source§impl ProgressSet
impl ProgressSet
pub fn new(multi: MultiProgress) -> Self
pub fn disabled(self, prefixes: &'static [&'static str]) -> Self
pub fn add(&self, prefix: &'static str) -> ProgressBar
Auto Trait Implementations§
impl !Freeze for ProgressSet
impl !RefUnwindSafe for ProgressSet
impl !Sync for ProgressSet
impl Send for ProgressSet
impl Unpin for ProgressSet
impl UnsafeUnpin for ProgressSet
impl UnwindSafe for ProgressSet
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