Home
last modified time | relevance | path

Searched refs:to_str_slice (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/clap/src/args/
Darg_matches.rs216 fn to_str_slice(o: &OsString) -> &str { in values_of() function
219 let to_str_slice: fn(&OsString) -> &str = to_str_slice; // coerce to fn pointer in values_of() localVariable
221 iter: arg.vals.iter().map(to_str_slice), in values_of()
295 fn to_str_slice(o: &OsString) -> &OsStr { in values_of_os() function
298 let to_str_slice: fn(&'a OsString) -> &'a OsStr = to_str_slice; // coerce to fn pointer in values_of_os() localVariable
301 iter: arg.vals.iter().map(to_str_slice), in values_of_os()
828 fn to_str_slice(_: &OsString) -> &str { in default() function
832 iter: EMPTY[..].iter().map(to_str_slice), in default()
887 fn to_str_slice(_: &OsString) -> &OsStr { in default() function
891 iter: EMPTY[..].iter().map(to_str_slice), in default()