pub fn add_subtree<S>(&mut self, title: S, tree: MenuTree)
    where
        S: Into<String>,
    {
        let i = self.children.len();
        self.insert_subtree(i, title, tree);
    }
/// Adds a submenu to the end of this tree.
Adds a submenu to the end of this tree.
Adds a submenu to the end of this tree .
pub fn add_subtree<S>(&mut self, title: S, tree: MenuTree)
    where
        S: Into<String>,
    {
        let i = self.children.len();
        self.insert_subtree(i, title, tree);
    }
pub fn add_subtree < S > ( & mut self , title : S , tree : MenuTree ) where S : Into < String > , { let i = self . children . len ( ) ; self . insert_subtree ( i , title , tree ) ; }
Adds a submenu to the end of this tree.
Adds a submenu to the end of this tree .
&mut self
title
S
tree
MenuTree
&mut self
title
S
tree
MenuTree