pub struct SourceFileSet {
pub name: Option<String>,
pub language: Option<String>,
pub compiler: Option<String>,
pub compiler_options: Option<String>,
pub source_files: Vec<SourceFile>,
pub preprocessor_definitions: Vec<PreprocessorDefinition>,
pub include_directories: Vec<IncludeDirectory>,
pub annotations: Option<Annotations>,
}Expand description
Set of source files with compilation settings
Fields§
§name: Option<String>Optional name for this source file set
language: Option<String>Programming language (e.g., “C”, “C++”, “Fortran”)
compiler: Option<String>Compiler to use (e.g., “gcc”, “clang”, “msvc”)
compiler_options: Option<String>Additional compiler options
source_files: Vec<SourceFile>List of source files in this set
preprocessor_definitions: Vec<PreprocessorDefinition>Preprocessor definitions
include_directories: Vec<IncludeDirectory>Include directories
annotations: Option<Annotations>Optional annotations
Trait Implementations§
Source§impl Debug for SourceFileSet
impl Debug for SourceFileSet
Source§impl Default for SourceFileSet
impl Default for SourceFileSet
Source§fn default() -> SourceFileSet
fn default() -> SourceFileSet
Returns the “default value” for a type. Read more
Source§impl PartialEq for SourceFileSet
impl PartialEq for SourceFileSet
Source§impl<'__input> XmlRead<'__input> for SourceFileSet
impl<'__input> XmlRead<'__input> for SourceFileSet
Source§impl XmlWrite for SourceFileSet
impl XmlWrite for SourceFileSet
impl StructuralPartialEq for SourceFileSet
Auto Trait Implementations§
impl Freeze for SourceFileSet
impl RefUnwindSafe for SourceFileSet
impl Send for SourceFileSet
impl Sync for SourceFileSet
impl Unpin for SourceFileSet
impl UnwindSafe for SourceFileSet
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more