From 1195457da25ce50b0c15ec40dfbda3963d83d623 Mon Sep 17 00:00:00 2001 From: sor-ca Date: Mon, 27 May 2024 21:24:01 +0300 Subject: [PATCH] Docstring for MenuState --- crates/egui/src/menu.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/egui/src/menu.rs b/crates/egui/src/menu.rs index b8ce90e0e7e..d7f055416a5 100644 --- a/crates/egui/src/menu.rs +++ b/crates/egui/src/menu.rs @@ -553,6 +553,7 @@ impl SubMenu { } } +///Components of menu state, public for advanced usage. Usually you don't need to use it directly pub struct MenuState { /// The opened sub-menu and its [`Id`] sub_menu: Option<(Id, Arc>)>,