Fields§
§state: Option<State<'cfg>>
Implementations§
source§impl<'cfg> Progress<'cfg>
impl<'cfg> Progress<'cfg>
pub fn with_style(
name: &str,
style: ProgressStyle,
cfg: &'cfg Config
) -> Progress<'cfg>
fn new_priv(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§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 128 bytes