Enum cargo::util::CfgExpr
[−]
[src]
pub enum CfgExpr { Not(Box<CfgExpr>), All(Vec<CfgExpr>), Any(Vec<CfgExpr>), Value(Cfg), }
Variants
Not(Box<CfgExpr>)
All(Vec<CfgExpr>)
Any(Vec<CfgExpr>)
Value(Cfg)
Methods
impl CfgExpr
[src]
Trait Implementations
impl Clone for CfgExpr
[src]
fn clone(&self) -> CfgExpr
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for CfgExpr
[src]
fn eq(&self, __arg_0: &CfgExpr) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CfgExpr) -> bool
[src]
This method tests for !=
.
impl Debug for CfgExpr
[src]
impl FromStr for CfgExpr
[src]
type Err = CargoError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> CargoResult<CfgExpr>
[src]
Parses a string s
to return a value of this type. Read more