pub fn label(&self) -> &str {
        match *self {
            MenuItem::Delimiter => "│",
            MenuItem::Leaf(ref label, _) | MenuItem::Subtree(ref label, _) => {
                label
            }
        }
    }
/// Returns the label for this item.
///
/// Returns an empty string if `self` is a delimiter.
Returns the label for this item.
Returns an empty string if `self` is a delimiter.
Returns the label for this item . Returns an empty string if ` self ` is a delimiter .
pub fn label(&self) -> &str {
        match *self {
            MenuItem::Delimiter => "│",
            MenuItem::Leaf(ref label, _) | MenuItem::Subtree(ref label, _) => {
                label
            }
        }
    }
pub fn label ( & self ) -> & str { match * self { MenuItem :: Delimiter => " MenuItem :: Leaf ( ref label , _ ) | MenuItem :: Subtree ( ref label , _ ) => { label } } }
Returns the label for this item.
Returns the label for this item .
&self
&self