Enum cargo::util::CfgExpr [] [src]

pub enum CfgExpr {
    Not(Box<CfgExpr>),
    All(Vec<CfgExpr>),
    Any(Vec<CfgExpr>),
    Value(Cfg),
}

Variants

Not
All
Any
Value

Methods

impl CfgExpr

fn matches(&self, cfg: &[Cfg]) -> bool

Trait Implementations

impl FromStr for CfgExpr

type Err = Box<CargoError>

fn from_str(s: &str) -> CargoResult<CfgExpr>

impl Display for CfgExpr

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Debug for CfgExpr

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for CfgExpr

fn eq(&self, __arg_0: &CfgExpr) -> bool

fn ne(&self, __arg_0: &CfgExpr) -> bool

impl Clone for CfgExpr

fn clone(&self) -> CfgExpr

1.0.0fn clone_from(&mut self, source: &Self)