Skip to main content

Utf8PathBufExt

Trait Utf8PathBufExt 

Source
pub(crate) trait Utf8PathBufExt {
    // Required method
    fn with_extra_extension(&self, extension: &str) -> Utf8PathBuf;
}

Required Methods§

Source

fn with_extra_extension(&self, extension: &str) -> Utf8PathBuf

Append an extension to the path, even if it already has one.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Utf8PathBufExt for Utf8PathBuf

Source§

fn with_extra_extension(&self, extension: &str) -> Utf8PathBuf

Implementors§