fn find_node<I>(&self, iter: I) -> Option<&Node>
    where
        I: IntoIterator,
        I::Item: IntoComponent,
    {
        let mut current = &self.root;

        for c in iter {
            let c = c.as_component_ref().into_component();
            current = current.children.get(&c)?;
        }

        Some(current)
    }
/// Find the node corresponding to the given path.
Find the node corresponding to the given path.
Find the node corresponding to the given path .
fn find_node<I>(&self, iter: I) -> Option<&Node>
    where
        I: IntoIterator,
        I::Item: IntoComponent,
    {
        let mut current = &self.root;
        for c in iter {
            let c = c.as_component_ref().into_component();
            current = current.children.get(&c)?;
        }
        Some(current)
    }
fn find_node < I > ( & self , iter : I ) -> Option < & Node > where I : IntoIterator , I :: Item : IntoComponent , { let mut current = & self . root ; for c in iter { let c = c . as_component_ref ( ) . into_component ( ) ; current = current . children . get ( & c ) ? ; } Some ( current ) }
Find the node corresponding to the given path.
Find the node corresponding to the given path .
&self
iter
I
&self
iter
I