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.
Object Safety§
This trait is not object safe.