Struct wasm_pack::PBAR [−]
pub struct PBAR { /* fields omitted */ }
The global progress bar and user-facing message output.
Methods from __Deref<Target = ProgressOutput>
pub fn step(&self, step: &Step, message: &str)
[src]
pub fn step(&self, step: &Step, message: &str)
Inform the user that the given step
is being executed, with details in
message
.
pub fn message(&self, message: &str)
[src]
pub fn message(&self, message: &str)
Print the given message.
pub fn info(&self, message: &str)
[src]
pub fn info(&self, message: &str)
Add an informational message.
pub fn warn(&self, message: &str)
[src]
pub fn warn(&self, message: &str)
Add a warning message.
pub fn error(&self, message: String)
[src]
pub fn error(&self, message: String)
Add an error message.
pub fn done(&self)
[src]
pub fn done(&self)
After having built up a series of messages, print all of them out.
Trait Implementations
impl __Deref for PBAR
impl __Deref for PBAR
type Target = ProgressOutput
The resulting type after dereferencing.
fn deref(&self) -> &ProgressOutput
fn deref(&self) -> &ProgressOutput
Dereferences the value.
impl LazyStatic for PBAR
impl LazyStatic for PBAR
fn initialize(lazy: &Self)
fn initialize(lazy: &Self)