#[non_exhaustive]pub struct Toolchain {
pub language: String,
pub compiler: Compiler,
pub source_file_extensions: Vec<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.language: String
Toolchain language, like C or CXX.
compiler: Compiler
Compiler information.
source_file_extensions: Vec<String>
Optional member that is present when the CMAKE_<LANG>_SOURCE_FILE_EXTENSIONS
variable is defined for the current language.
Each string holds a file extension (without the leading dot) for the language
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Toolchain
impl<'de> Deserialize<'de> for Toolchain
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
impl StructuralPartialEq for Toolchain
Auto Trait Implementations§
impl Freeze for Toolchain
impl RefUnwindSafe for Toolchain
impl Send for Toolchain
impl Sync for Toolchain
impl Unpin for Toolchain
impl UnwindSafe for Toolchain
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