pub enum BuildMode {
Dev,
Release,
Profiling,
}Expand description
The build mode for wasm-pack compilation.
Dev— development build with debug info and no optimizationsRelease— release build with optimizations and no debug infoProfiling— profiling build with optimizations and debug info
Variants§
Dev
Development build (default).
Release
Release build with optimizations.
Profiling
Profiling build with optimizations and debug info.
Trait Implementations§
impl Copy for BuildMode
impl Eq for BuildMode
impl StructuralPartialEq for BuildMode
Auto Trait Implementations§
impl Freeze for BuildMode
impl RefUnwindSafe for BuildMode
impl Send for BuildMode
impl Sync for BuildMode
impl Unpin for BuildMode
impl UnsafeUnpin for BuildMode
impl UnwindSafe for BuildMode
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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