pub fn push<P: AsRef<str>>(&mut self, path: P) {
        if !self.0.ends_with(SEPARATOR) {
            self.0.push_str(SEPARATOR);
        }

        self.0.push_str(path.as_ref());
    }
/// Add a component to this path
Add a component to this path
Add a component to this path
pub fn push<P: AsRef<str>>(&mut self, path: P) {
        if !self.0.ends_with(SEPARATOR) {
            self.0.push_str(SEPARATOR);
        }
        self.0.push_str(path.as_ref());
    }
pub fn push < P : AsRef < str > > ( & mut self , path : P ) { if ! self . 0 . ends_with ( SEPARATOR ) { self . 0 . push_str ( SEPARATOR ) ; } self . 0 . push_str ( path . as_ref ( ) ) ; }
Add a component to this path
Add a component to this path
&mut self
path
P
&mut self
path
P