pub struct ToolchainSettings {
pub general: ToolchainDecl,
pub conditional: Vec<ConditionalToolchainDecl>,
}Expand description
Workspace-root toolchain settings derived from the manifest.
Holds both the unconditional [toolchain] table and any
[target.'cfg(...)'.toolchain] overrides.
Fields§
§general: ToolchainDecl§conditional: Vec<ConditionalToolchainDecl>Implementations§
Trait Implementations§
Source§impl Clone for ToolchainSettings
impl Clone for ToolchainSettings
Source§fn clone(&self) -> ToolchainSettings
fn clone(&self) -> ToolchainSettings
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 ToolchainSettings
impl Debug for ToolchainSettings
Source§impl Default for ToolchainSettings
impl Default for ToolchainSettings
Source§fn default() -> ToolchainSettings
fn default() -> ToolchainSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolchainSettings
impl<'de> Deserialize<'de> for ToolchainSettings
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 ToolchainSettings
impl PartialEq for ToolchainSettings
Source§fn eq(&self, other: &ToolchainSettings) -> bool
fn eq(&self, other: &ToolchainSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolchainSettings
impl Serialize for ToolchainSettings
impl Eq for ToolchainSettings
impl StructuralPartialEq for ToolchainSettings
Auto Trait Implementations§
impl Freeze for ToolchainSettings
impl RefUnwindSafe for ToolchainSettings
impl Send for ToolchainSettings
impl Sync for ToolchainSettings
impl Unpin for ToolchainSettings
impl UnsafeUnpin for ToolchainSettings
impl UnwindSafe for ToolchainSettings
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.