Struct wasm_pack::progressbar::ProgressOutput
source · [−]pub struct ProgressOutput { /* private fields */ }
Expand description
Synchronized progress bar and status message printing.
Implementations
sourceimpl ProgressOutput
impl ProgressOutput
sourcepub fn is_log_enabled(&self, level: LogLevel) -> bool
pub fn is_log_enabled(&self, level: LogLevel) -> bool
Returns whether the specified log level is enabled or not
sourcepub fn set_log_level(&self, log_level: LogLevel)
pub fn set_log_level(&self, log_level: LogLevel)
Sets the log level for wasm-pack
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ProgressOutput
impl Send for ProgressOutput
impl Sync for ProgressOutput
impl Unpin for ProgressOutput
impl UnwindSafe for ProgressOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more