Struct spack::commands::config::CompilerSpec
source · pub struct CompilerSpec {
pub spec: String,
pub paths: CompilerPaths,
/* private fields */
}Expand description
A single compiler’s spec from running GetCompilers::get_compilers.
Fields§
§spec: StringSpec string that can be used to select the given compiler after a % in
a CLISpec.
paths: CompilerPathsPaths which could be located for this compiler.
Trait Implementations§
source§impl Clone for CompilerSpec
impl Clone for CompilerSpec
source§fn clone(&self) -> CompilerSpec
fn clone(&self) -> CompilerSpec
Returns a copy of the value. Read more
1.0.0 · 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 CompilerSpec
impl Debug for CompilerSpec
source§impl<'de> Deserialize<'de> for CompilerSpec
impl<'de> Deserialize<'de> for CompilerSpec
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 Display for CompilerSpec
impl Display for CompilerSpec
Auto Trait Implementations§
impl RefUnwindSafe for CompilerSpec
impl Send for CompilerSpec
impl Sync for CompilerSpec
impl Unpin for CompilerSpec
impl UnwindSafe for CompilerSpec
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