Trait FindInPath

Source
pub trait FindInPath {
    // Required method
    fn find_in_path(&self) -> Option<PathBuf>;
}
Expand description

Allows finding in the PATH

Any type that implements this trait can be turned into a PathBuf to a valid executable found with the PATH environment variable.

Required Methods§

Implementations on Foreign Types§

Source§

impl FindInPath for &str

Source§

impl FindInPath for &Path

Source§

impl FindInPath for String

Source§

impl FindInPath for PathBuf

Implementors§