pub fn next_node_in_path(&self, parent_path: &SPPath) -> Option<String> {
        if self.is_child_of(parent_path) && self.path.len() > parent_path.path.len() {
            Some(self.path[parent_path.path.len()].clone())
        } else {
            None
        }
    }
/// returns the next name in the path of this SPPath based on a path
/// that is the current parent to this path
returns the next name in the path of this SPPath based on a path
that is the current parent to this path
returns the next name in the path of this SPPath based on a path that is the current parent to this path
pub fn next_node_in_path(&self, parent_path: &SPPath) -> Option<String> {
        if self.is_child_of(parent_path) && self.path.len() > parent_path.path.len() {
            Some(self.path[parent_path.path.len()].clone())
        } else {
            None
        }
    }
pub fn next_node_in_path ( & self , parent_path : & SPPath ) -> Option < String > { if self . is_child_of ( parent_path ) && self . path . len ( ) > parent_path . path . len ( ) { Some ( self . path [ parent_path . path . len ( ) ] . clone ( ) ) } else { None } }
returns the next name in the path of this SPPath based on a path
that is the current parent to this path
returns the next name in the path of this SPPath based on a path that is the current parent to this path
&self
parent_path
&SPPath