Trait plain_path::PlainPathExt[][src]

pub trait PlainPathExt {
    fn plain(&self) -> Result<Cow<'_, Path>, HomeDirNotFound>;
}

Provides the plain method to expand ~.

Required methods

fn plain(&self) -> Result<Cow<'_, Path>, HomeDirNotFound>[src]

Returns the path without special expansion characters.

If there are no expansion characters, the original path is returned under the Cow::Borrowed variant, otherwise an owned PathBuf is returned.

Loading content...

Implementations on Foreign Types

impl PlainPathExt for Path[src]

impl PlainPathExt for PathBuf[src]

Loading content...

Implementors

Loading content...