pub fn find_subtree(&mut self, title: &str) -> Option<&mut MenuTree> {
        self.children
            .iter_mut()
            .filter(|child| child.label() == title)
            .filter_map(MenuItem::as_subtree)
            .next()
    }
/// Looks for a subtree with the given title.
Looks for a subtree with the given title.
Looks for a subtree with the given title .
pub fn find_subtree(&mut self, title: &str) -> Option<&mut MenuTree> {
        self.children
            .iter_mut()
            .filter(|child| child.label() == title)
            .filter_map(MenuItem::as_subtree)
            .next()
    }
pub fn find_subtree ( & mut self , title : & str ) -> Option < & mut MenuTree > { self . children . iter_mut ( ) . filter ( | child | child . label ( ) == title ) . filter_map ( MenuItem :: as_subtree ) . next ( ) }
Looks for a subtree with the given title.
Looks for a subtree with the given title .
&mut self
title
&str
&mut self
title
&str