Lines Matching refs:AsRef
56 pub fn which<T: AsRef<OsStr>>(binary_name: T) -> Result<path::PathBuf> { in which()
80 pub fn which_global<T: AsRef<OsStr>>(binary_name: T) -> Result<path::PathBuf> { in which_global()
85 pub fn which_all<T: AsRef<OsStr>>(binary_name: T) -> Result<impl Iterator<Item = path::PathBuf>> { in which_all()
96 pub fn which_all_global<T: AsRef<OsStr>>( in which_all_global()
151 T: AsRef<OsStr>, in which_in()
152 U: AsRef<OsStr>, in which_in()
153 V: AsRef<path::Path>, in which_in()
188 T: AsRef<OsStr>, in which_re_in()
204 T: AsRef<OsStr>, in which_in_all()
205 U: AsRef<OsStr>, in which_in_all()
206 V: AsRef<path::Path>, in which_in_all()
221 T: AsRef<OsStr>, in which_in_global()
222 U: AsRef<OsStr>, in which_in_global()
411 pub fn new<T: AsRef<OsStr>>(binary_name: T) -> Result<Path> { in new()
418 pub fn all<T: AsRef<OsStr>>(binary_name: T) -> Result<impl Iterator<Item = Path>> { in all()
428 T: AsRef<OsStr>, in new_in()
429 U: AsRef<OsStr>, in new_in()
430 V: AsRef<path::Path>, in new_in()
445 T: AsRef<OsStr>, in all_in()
446 U: AsRef<OsStr>, in all_in()
447 V: AsRef<path::Path>, in all_in()
477 impl AsRef<path::Path> for Path {
483 impl AsRef<OsStr> for Path {
523 pub fn new<T: AsRef<OsStr>>(binary_name: T) -> Result<CanonicalPath> { in new()
532 pub fn all<T: AsRef<OsStr>>( in all()
551 T: AsRef<OsStr>, in new_in()
552 U: AsRef<OsStr>, in new_in()
553 V: AsRef<path::Path>, in new_in()
570 T: AsRef<OsStr>, in all_in()
571 U: AsRef<OsStr>, in all_in()
572 V: AsRef<path::Path>, in all_in()
609 impl AsRef<path::Path> for CanonicalPath {
615 impl AsRef<OsStr> for CanonicalPath {