Enum cargo::util::Cfg
[−]
[src]
pub enum Cfg { Name(String), KeyPair(String, String), }
Variants
Name(String)
KeyPair(String, String)
Trait Implementations
impl Clone for Cfg
[src]
fn clone(&self) -> Cfg
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 PartialEq for Cfg
[src]
fn eq(&self, __arg_0: &Cfg) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Cfg) -> bool
This method tests for !=
.
impl Debug for Cfg
[src]
impl FromStr for Cfg
[src]
type Err = Box<CargoError>
The associated error which can be returned from parsing.
fn from_str(s: &str) -> CargoResult<Cfg>
Parses a string s
to return a value of this type. Read more