pub struct CompilerWrapperManifestSettings {
pub general: Option<CompilerWrapperRequest>,
pub conditional: Vec<ConditionalCompilerWrapperDecl>,
}Expand description
Workspace-root manifest’s compiler-wrapper declarations.
The wrapper is a single value per build invocation. To keep that
invariant clear, only the workspace-root manifest’s
[profile.cache] / [target.'cfg(...)'.profile.cache]
declarations matter; member manifests that try to declare any
cache settings are rejected by the workspace loader before the
resolver runs.
Fields§
§general: Option<CompilerWrapperRequest>Unconditional [profile.cache].compiler-wrapper. None means
the manifest did not declare a general value.
conditional: Vec<ConditionalCompilerWrapperDecl>[target.'cfg(...)'.profile.cache] overlays. Empty when no
conditional wrapper declarations exist.
Implementations§
Trait Implementations§
Source§impl Clone for CompilerWrapperManifestSettings
impl Clone for CompilerWrapperManifestSettings
Source§fn clone(&self) -> CompilerWrapperManifestSettings
fn clone(&self) -> CompilerWrapperManifestSettings
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 Default for CompilerWrapperManifestSettings
impl Default for CompilerWrapperManifestSettings
Source§fn default() -> CompilerWrapperManifestSettings
fn default() -> CompilerWrapperManifestSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompilerWrapperManifestSettings
impl<'de> Deserialize<'de> for CompilerWrapperManifestSettings
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 CompilerWrapperManifestSettings
impl PartialEq for CompilerWrapperManifestSettings
Source§fn eq(&self, other: &CompilerWrapperManifestSettings) -> bool
fn eq(&self, other: &CompilerWrapperManifestSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CompilerWrapperManifestSettings
impl StructuralPartialEq for CompilerWrapperManifestSettings
Auto Trait Implementations§
impl Freeze for CompilerWrapperManifestSettings
impl RefUnwindSafe for CompilerWrapperManifestSettings
impl Send for CompilerWrapperManifestSettings
impl Sync for CompilerWrapperManifestSettings
impl Unpin for CompilerWrapperManifestSettings
impl UnsafeUnpin for CompilerWrapperManifestSettings
impl UnwindSafe for CompilerWrapperManifestSettings
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.