usestd::borrow::Cow;usestd::io;usestd::path::Path;/// Let `Path` and `PathBuf` have `parse_dot` method.
pubtraitParseDot{/// Remove dots in the path and create a new `PathBuf` instance on demand.
fnparse_dot(&self)->io::Result<Cow<Path>>;/// Remove dots in the path and create a new `PathBuf` instance on demand. It gets the current working directory as the second argument.
fnparse_dot_from(&self, cwd:&Path)->io::Result<Cow<Path>>;}