// Displays a `NodePath` as a slash-separated path.
Displays a `NodePath` as a slash-separated path.
Displays a ` NodePath ` as a slash - separated path .
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        if self.0.is_empty() {
            return write!(f, "/");
        }
        let mut path_string = "".to_owned();
        for moniker in self.0.iter() {
            path_string.push('/');
            path_string.push_str(moniker.as_str());
        }
        write!(f, "{}", path_string)
    }
fn fmt ( & self , f : & mut fmt :: Formatter < ' _ > ) -> fmt :: Result { if self . 0 . is_empty ( ) { return write ! ( f " " ) ; } let mut path_string = " " . to_owned ( ) ; for moniker in self . 0 . iter ( ) { path_string . push ( '/' ) ; path_string . push_str ( moniker . as_str ( ) ) ; } write ! ( f " " path_string ) }
Displays a `NodePath` as a slash-separated path.
Displays a ` NodePath ` as a slash - separated path .
&self
f
&mut fmt::Formatter<'_>