Struct lit::config::Configuration
[−]
[src]
pub struct Configuration { pub supported_file_extensions: Vec<String>, pub test_paths: Vec<PathBuf>, }
Fields
supported_file_extensions: Vec<String>
A list of file extensions which contain tests.
test_paths: Vec<PathBuf>
Paths to tests or folders containing tests.
Methods
impl Configuration
[src]
fn add_extension<S>(&mut self, ext: S) where
S: Into<String>,
S: Into<String>,
fn add_path<P>(&mut self, path: P) where
P: Into<String>,
P: Into<String>,
fn is_extension_supported(&self, extension: &str) -> bool
Trait Implementations
impl Clone for Configuration
[src]
fn clone(&self) -> Configuration
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more