Enum ptx_builder::builder::Profile
source · 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 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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