Searched refs:BpValue (Results 1 – 1 of 1) sorted by relevance
27 map: BTreeMap<String, BpValue>,47 pub enum BpValue { enum51 List(Vec<BpValue>),76 BpValue::String(s) => s, in get_string()81 pub fn set<T: Into<BpValue>>(&mut self, k: &str, v: T) { in set()87 self.map.entry(k.to_string()).or_insert_with(|| BpValue::Object(BpProperties::new())); in object()89 BpValue::Object(v) => v, in object()123 let mut props: Vec<(&String, &BpValue)> = self.map.iter().collect(); in write()143 impl BpValue { implementation147 BpValue::Object(p) => p.write(w)?, in write()[all …]