pub enum Profile {
Debug,
Release,
}Expand description
Debug / Release profile.
§Usage
use ptx_builder::prelude::*;
Builder::new(".")?
.set_profile(Profile::Debug)
.build()?;Variants§
Debug
Equivalent for cargo-build without --release flag.
Release
Equivalent for cargo-build with --release flag.
Trait Implementations§
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
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