Enum wasm_pack::command::build::BuildProfile
source · pub enum BuildProfile {
Dev,
Release,
Profiling,
}Expand description
The build profile controls whether optimizations, debug info, and assertions are enabled or disabled.
Variants§
Dev
Enable assertions and debug info. Disable optimizations.
Release
Enable optimizations. Disable assertions and debug info.
Profiling
Enable optimizations and debug info. Disable assertions.
Trait Implementations§
source§impl Clone for BuildProfile
impl Clone for BuildProfile
source§fn clone(&self) -> BuildProfile
fn clone(&self) -> BuildProfile
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BuildProfile
impl Debug for BuildProfile
impl Copy for BuildProfile
Auto Trait Implementations§
impl RefUnwindSafe for BuildProfile
impl Send for BuildProfile
impl Sync for BuildProfile
impl Unpin for BuildProfile
impl UnwindSafe for BuildProfile
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