pub struct Profile {
pub name: InternedString,
pub opt_level: InternedString,
pub root: ProfileRoot,
pub lto: Lto,
pub codegen_units: Option<u32>,
pub debuginfo: Option<u32>,
pub debug_assertions: bool,
pub overflow_checks: bool,
pub rpath: bool,
pub incremental: bool,
pub panic: PanicStrategy,
}Expand description
Profile settings used to determine which compiler flags to use for a target.
Fields§
§name: InternedString§opt_level: InternedString§root: ProfileRoot§lto: Lto§codegen_units: Option<u32>§debuginfo: Option<u32>§debug_assertions: bool§overflow_checks: bool§rpath: bool§incremental: bool§panic: PanicStrategyTrait Implementations§
Source§impl Ord for Profile
impl Ord for Profile
Source§impl PartialOrd for Profile
impl PartialOrd for Profile
impl Copy for Profile
impl Eq 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 UnsafeUnpin 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