pub trait AsPath { fn as_path(&self) -> &Path; }
Defines as path trait.
fn as_path(&self) -> &Path
Converts to a path reference.
impl AsPath for str
impl AsPath for &str
impl AsPath for String
impl AsPath for &String
impl AsPath for &Path
impl AsPath for PathBuf