Struct std::path::PrefixComponent
[−]
[src]
pub struct PrefixComponent<'a> { // some fields omitted }1.0.0
A Windows path prefix, e.g. C:
or \\server\share
.
Does not occur on Unix.
Methods
impl<'a> PrefixComponent<'a>
fn kind(&self) -> Prefix<'a>
The parsed prefix data.
fn as_os_str(&self) -> &'a OsStr
The raw OsStr
slice for this prefix.