pub fn to_path_buf(&self) -> PathBuf {
        let mut result = PathBuf::from(OsString::with_capacity(self.capacity()));
        self.for_each_component(|c| result.push(c_to_os_str(c)));
        result
    }
/// Converts this path to a standard library path buffer.
/// We need this to be able to use this path with other standard library I/O functions.
Converts this path to a standard library path buffer.
We need this to be able to use this path with other standard library I/O functions.
Converts this path to a standard library path buffer . We need this to be able to use this path with other standard library I / O functions .
pub fn to_path_buf(&self) -> PathBuf {
        let mut result = PathBuf::from(OsString::with_capacity(self.capacity()));
        self.for_each_component(|c| result.push(c_to_os_str(c)));
        result
    }
pub fn to_path_buf ( & self ) -> PathBuf { let mut result = PathBuf :: from ( OsString :: with_capacity ( self . capacity ( ) ) ) ; self . for_each_component ( | c | result . push ( c_to_os_str ( c ) ) ) ; result }
Converts this path to a standard library path buffer.
Converts this path to a standard library path buffer .
&self
&self