routing::path

Trait PathBufExt

Source
pub trait PathBufExt {
    // Required method
    fn attach<P: AsRef<Path>>(self, path: P) -> PathBuf;
}

Required Methods§

Source

fn attach<P: AsRef<Path>>(self, path: P) -> PathBuf

Joins self with path, returning self unmodified if path is empty.

Takes ownership of self.

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.

Implementations on Foreign Types§

Source§

impl PathBufExt for PathBuf

Source§

fn attach<P: AsRef<Path>>(self, path: P) -> PathBuf

Implementors§