Struct cargo::core::profiles::Profile [−][src]
pub struct Profile {}Show fields
pub name: InternedString, pub opt_level: InternedString, pub root: ProfileRoot, pub lto: Lto, pub codegen_units: Option<u32>, pub debuginfo: Option<u32>, pub split_debuginfo: Option<InternedString>, pub debug_assertions: bool, pub overflow_checks: bool, pub rpath: bool, pub incremental: bool, pub panic: PanicStrategy, pub strip: Strip,
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>
split_debuginfo: Option<InternedString>
debug_assertions: bool
overflow_checks: bool
rpath: bool
incremental: bool
panic: PanicStrategy
strip: Strip
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Profile
impl UnwindSafe for Profile
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V