Trait plain_path::PlainPathExt [−][src]
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.