Searched refs:content (Results 1 – 2 of 2) sorted by relevance
| /rust/macros/ |
| D | module.rs | 40 fn emit_base(&mut self, field: &str, content: &str, builtin: bool) { in emit_base() 47 content = content in emit_base() 78 fn emit_only_builtin(&mut self, field: &str, content: &str) { in emit_only_builtin() 79 self.emit_base(field, content, true) in emit_only_builtin() 82 fn emit_only_loadable(&mut self, field: &str, content: &str) { in emit_only_loadable() 83 self.emit_base(field, content, false) in emit_only_loadable() 86 fn emit(&mut self, field: &str, content: &str) { in emit() 87 self.emit_only_builtin(field, content); in emit() 88 self.emit_only_loadable(field, content); in emit()
|
| D | helpers.rs | 24 let content = &string[1..string.len() - 1]; in try_string() localVariable 25 if content.contains('\\') { in try_string() 28 Some(content.to_string()) in try_string()
|