Trait routing::path::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.

Object Safety§

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§