typed-path 0.12.3

Provides typed variants of Path and PathBuf for Unix and Windows
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
mod errors;
#[macro_use]
mod non_utf8;
mod utf8;

/// Interface to try to perform a cheap reference-to-reference conversion.
pub trait TryAsRef<T: ?Sized> {
    fn try_as_ref(&self) -> Option<&T>;
}

pub use errors::*;
pub use non_utf8::*;
pub use utf8::*;