pub struct Profile {Show 16 fields
pub name: InternedString,
pub opt_level: InternedString,
pub root: ProfileRoot,
pub lto: Lto,
pub codegen_backend: Option<InternedString>,
pub codegen_units: Option<u32>,
pub debuginfo: DebugInfo,
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,
pub rustflags: Vec<InternedString>,
pub trim_paths: Option<TomlTrimPaths>,
}
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_backend: Option<InternedString>
§codegen_units: Option<u32>
§debuginfo: DebugInfo
§split_debuginfo: Option<InternedString>
§debug_assertions: bool
§overflow_checks: bool
§rpath: bool
§incremental: bool
§panic: PanicStrategy
§strip: Strip
§rustflags: Vec<InternedString>
§trim_paths: Option<TomlTrimPaths>
Trait Implementations§
source§impl Ord for Profile
impl Ord for Profile
source§impl PartialEq for Profile
impl PartialEq for Profile
source§impl PartialOrd for Profile
impl PartialOrd for Profile
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq 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§
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.