pub trait PathBufExt {
// Required method
fn with_extra_extension<S: AsRef<OsStr>>(&self, extension: S) -> PathBuf;
}
Required Methods§
Sourcefn with_extra_extension<S: AsRef<OsStr>>(&self, extension: S) -> PathBuf
fn with_extra_extension<S: AsRef<OsStr>>(&self, extension: S) -> PathBuf
Append an extension to the path, even if it already has one.
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.