Home
last modified time | relevance | path

Searched refs:CfgValue (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/crates/cxx/gen/cmd/src/
Dcfg.rs8 pub enum CfgValue { enum
13 impl CfgValue { impl
14 const FALSE: Self = CfgValue::Bool(false);
15 const TRUE: Self = CfgValue::Bool(true);
19 map: Map<String, Set<CfgValue>>,
23 pub fn new(map: Map<String, Set<CfgValue>>) -> Self { in new()
33 CfgResult::from(set.contains(&CfgValue::Str(value.to_owned()))) in eval()
46 is_false = set.contains(&CfgValue::FALSE); in eval()
47 is_true = set.contains(&CfgValue::TRUE); in eval()
67 impl Debug for CfgValue { implementation
[all …]
Dapp.rs6 use crate::cfg::{self, CfgValue};
140 Ok((_, CfgValue::Str(_))) => Ok(arg.to_owned()), in arg_cfg()
141 Ok((name, CfgValue::Bool(value))) => { in arg_cfg()
Dmain.rs38 use crate::cfg::{CfgValue, FlagsCfgEvaluator};
55 cfg: Map<String, Set<CfgValue>>,