pub struct Progress<'cfg> { /* private fields */ }Implementations§
Source§impl<'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) -> 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> Freeze for Progress<'cfg>
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§
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