Lines Matching refs:str
26 module: &'a str,
32 fn new(module: &'a str) -> Self {
40 fn emit_base(&mut self, field: &str, content: &str, builtin: bool) {
78 fn emit_only_builtin(&mut self, field: &str, content: &str) {
82 fn emit_only_loadable(&mut self, field: &str, content: &str) {
86 fn emit(&mut self, field: &str, content: &str) {
106 const EXPECTED_KEYS: &[&str] =
108 const REQUIRED_KEYS: &[&str] = &["type", "name", "license"];
153 let mut ordered_keys: Vec<&str> = Vec::new();