std::path::windows::StrComponents[src]
type StrComponents<'a> = Map<'a, &'a str, Option<&'a str>, CharSplits<'a, char>>;
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.