pub struct ProfileSettings {
pub general: ProfileFlags,
pub conditional: Vec<ConditionalProfileFlags>,
}Expand description
Per-package build-flags settings. Holds the unconditional
[profile] table plus any [target.'cfg(...)'.profile]
overrides declared in the same manifest.
Fields§
§general: ProfileFlags§conditional: Vec<ConditionalProfileFlags>Implementations§
Trait Implementations§
Source§impl Clone for ProfileSettings
impl Clone for ProfileSettings
Source§fn clone(&self) -> ProfileSettings
fn clone(&self) -> ProfileSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProfileSettings
impl Debug for ProfileSettings
Source§impl Default for ProfileSettings
impl Default for ProfileSettings
Source§fn default() -> ProfileSettings
fn default() -> ProfileSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileSettings
impl<'de> Deserialize<'de> for ProfileSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProfileSettings
impl PartialEq for ProfileSettings
Source§fn eq(&self, other: &ProfileSettings) -> bool
fn eq(&self, other: &ProfileSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProfileSettings
impl Serialize for ProfileSettings
impl Eq for ProfileSettings
impl StructuralPartialEq for ProfileSettings
Auto Trait Implementations§
impl Freeze for ProfileSettings
impl RefUnwindSafe for ProfileSettings
impl Send for ProfileSettings
impl Sync for ProfileSettings
impl Unpin for ProfileSettings
impl UnsafeUnpin for ProfileSettings
impl UnwindSafe for ProfileSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.