pub struct Progress<'cfg> { /* private fields */ }
Implementations
sourceimpl<'cfg> Progress<'cfg>
impl<'cfg> Progress<'cfg>
pub fn with_style(
name: &str,
style: ProgressStyle,
cfg: &'cfg Config
) -> Progress<'cfg>
pub fn disable(&mut self)
pub fn is_enabled(&self) -> bool
pub fn new(name: &str, cfg: &'cfg Config) -> Progress<'cfg>
pub fn tick(&mut self, cur: usize, max: usize, msg: &str) -> CargoResult<()>
pub fn tick_now(&mut self, cur: usize, max: usize, msg: &str) -> CargoResult<()>
pub fn update_allowed(&mut self) -> bool
pub fn print_now(&mut self, msg: &str) -> CargoResult<()>
pub fn clear(&mut self)
Auto Trait Implementations
impl<'cfg> !RefUnwindSafe for Progress<'cfg>
impl<'cfg> !Send for Progress<'cfg>
impl<'cfg> !Sync for Progress<'cfg>
impl<'cfg> Unpin for Progress<'cfg>
impl<'cfg> !UnwindSafe for Progress<'cfg>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more