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
sourceimpl Clone for BuildProfile
impl Clone for BuildProfile
sourcefn clone(&self) -> BuildProfile
fn clone(&self) -> BuildProfile
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
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