pub struct ScanConfig {
pub root: PathBuf,
pub exclude_patterns: Vec<String>,
pub extensions: Vec<String>,
}Expand description
Configuration for scanning the filesystem for source files.
Fields§
§root: PathBufRoot directory to scan.
exclude_patterns: Vec<String>Glob patterns to exclude (simple substring matching for now).
extensions: Vec<String>File extensions to include (without the leading dot). Defaults to ["rs"].
Implementations§
Source§impl ScanConfig
impl ScanConfig
Auto Trait Implementations§
impl Freeze for ScanConfig
impl RefUnwindSafe for ScanConfig
impl Send for ScanConfig
impl Sync for ScanConfig
impl Unpin for ScanConfig
impl UnsafeUnpin for ScanConfig
impl UnwindSafe for ScanConfig
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