std::old_path::windows::StrComponentsUnstable [-] [+] [src]

type StrComponents<'a> = Map<SplitTerminator<'a, char>, fn(&'a str) -> Option<&'a str>>;

Iterator that yields successive components of a Path as &str

Each component is yielded as Option<&str> for compatibility with PosixPath, but every component in WindowsPath is guaranteed to be Some.