pub trait ParseDot {
// Required methods
fn parse_dot(&self) -> Result<Cow<'_, Path>>;
fn parse_dot_from(&self, cwd: impl AsRef<Path>) -> Result<Cow<'_, Path>>;
}
Expand description
Let Path
and PathBuf
have parse_dot
method.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.