Lines Matching defs: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) {
107 const EXPECTED_KEYS: &[&str] = &[
116 const REQUIRED_KEYS: &[&str] = &["type", "name", "license"];
162 let mut ordered_keys: Vec<&str> = Vec::new();