Struct grnenvlib::config::Config
[−]
[src]
pub struct Config<'a> { pub install_dir: PathBuf, pub shim_dir: PathBuf, pub versions_dir: PathBuf, pub arch: Option<Cow<'a, str>>, pub version: Option<&'a str>, pub build_conf: PathBuf, }
Fields
install_dir: PathBuf
shim_dir: PathBuf
versions_dir: PathBuf
arch: Option<Cow<'a, str>>
version: Option<&'a str>
build_conf: PathBuf
Methods
impl<'a> Config<'a>
[src]
fn new() -> Config<'a>
fn from_matches(m: &'a ArgMatches) -> Config<'a>
Trait Implementations
impl<'a> Debug for Config<'a>
[src]
impl<'a> Clone for Config<'a>
[src]
fn clone(&self) -> Config<'a>
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
impl<'a> PartialEq for Config<'a>
[src]
fn eq(&self, __arg_0: &Config<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Config<'a>) -> bool
This method tests for !=
.