Function menu_entries
pub fn menu_entries(parts: Vec<MenuPart>) -> Vec<MenuEntry>Expand description
A menu’s parts as the entries of the context menu that shows them. A destructive command runs at once and is undone afterwards (the platform’s rule), never confirmed first; a separator at either end or beside another is dropped.