Enum cargo_project::Profile
source · [−]pub enum Profile {
Dev,
Release,
// some variants omitted
}
Expand description
Build profile
Variants
Dev
Development profile
Release
Release profile (--release
)
Implementations
sourceimpl Profile
impl Profile
sourcepub fn is_release(&self) -> bool
pub fn is_release(&self) -> bool
Is this the release profile?
Trait Implementations
impl Copy for Profile
impl StructuralPartialEq for Profile
Auto Trait Implementations
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
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