pub struct ProgressOutput { /* private fields */ }Expand description
Synchronized progress bar and status message printing.
Implementations§
Source§impl 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 !Freeze for ProgressOutput
impl RefUnwindSafe for ProgressOutput
impl Send for ProgressOutput
impl Sync for ProgressOutput
impl Unpin for ProgressOutput
impl UnwindSafe for ProgressOutput
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more