[][src]Trait fsio::path::as_path::AsPath

pub trait AsPath {
    fn as_path(&self) -> &Path;
}

Defines as path trait.

Required methods

fn as_path(&self) -> &Path

Converts to a path reference.

Loading content...

Implementations on Foreign Types

impl AsPath for str[src]

impl<'_> AsPath for &'_ str[src]

impl AsPath for String[src]

impl<'_> AsPath for &'_ String[src]

impl<'_> AsPath for &'_ Path[src]

impl AsPath for PathBuf[src]

Loading content...

Implementors

Loading content...