pub struct ProjectParameters {
pub language: String,
pub test_env: String,
pub build_script: BuildScript,
pub lib_paths: Vec<String>,
pub source_dirs: Vec<String>,
pub include_dirs: Vec<String>,
}
Expand description
The parsed project parameters.
Fields§
§language: String
The language of the source project (e.g. c, cpp or python)
test_env: String
Test environment which should be used (e.g. google test)
build_script: BuildScript
The build steps which should be executed when the build-option is set.
lib_paths: Vec<String>
Paths to libraries which should be linked.
source_dirs: Vec<String>
The source directories to extract the test data.
include_dirs: Vec<String>
The include directories necessary to build the tests.
Implementations§
Source§impl ProjectParameters
impl ProjectParameters
Sourcepub fn parse(yml: &str) -> Fallible<ProjectParameters>
pub fn parse(yml: &str) -> Fallible<ProjectParameters>
Parses the project parameters from the given yaml file.
Trait Implementations§
Source§impl Debug for ProjectParameters
impl Debug for ProjectParameters
Source§impl Default for ProjectParameters
impl Default for ProjectParameters
Source§fn default() -> ProjectParameters
fn default() -> ProjectParameters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProjectParameters
impl RefUnwindSafe for ProjectParameters
impl Send for ProjectParameters
impl Sync for ProjectParameters
impl Unpin for ProjectParameters
impl UnwindSafe for ProjectParameters
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