pub struct Config {
pub build_log: Option<PathBuf>,
pub output_file: PathBuf,
pub build_dir: PathBuf,
pub exclude_patterns: Vec<String>,
pub no_build: bool,
pub verbose: u8,
pub no_strict: bool,
pub macros: Vec<String>,
pub command_style: bool,
pub full_path: bool,
pub regex_compile: String,
pub regex_file: String,
}Expand description
Configuration for the compilation database generator
Fields§
§build_log: Option<PathBuf>Path to the build log file
output_file: PathBufOutput file path
build_dir: PathBufInitial build directory
exclude_patterns: Vec<String>File exclusion patterns
no_build: boolSkip actual build
verbose: u8Enable verbose output
no_strict: boolSkip source file existence check
macros: Vec<String>Predefined compiler macros
command_style: boolUse command style output
full_path: boolUse full compiler path
regex_compile: StringRegex pattern for compile commands
regex_file: StringRegex pattern for source files
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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