Lines Matching refs:as_str
93 self.p.meta.bin_name.as_ref().map(|s| s.as_str()) in get_bin_name()
1656 let mut a = if let Some(name) = yaml["name"].as_str() { in from()
1662 App::new(sc_key.as_str().unwrap()) in from()
1668 if let Some(v) = $y[stringify!($i)].as_str() { in from()
1705 if let Some(v) = yaml["setting"].as_str() { in from()
1715 if let Some(s) = ys.as_str() { in from()
1719 } else if let Some(v) = yaml["settings"].as_str() { in from()
1727 if let Some(v) = yaml["global_setting"].as_str() { in from()
1737 if let Some(s) = ys.as_str() { in from()
1741 } else if let Some(v) = yaml["global_settings"].as_str() { in from()
1755 if let Some(s) = ys.as_str() { in from()
1762 if let Some(s) = $y[stringify!($as_vec)].as_str() { in from()