chore: make MenuId field public

This commit is contained in:
Amr Bashir 2023-08-08 16:39:27 +03:00
parent 874f345f3c
commit 8c2019eba0
No known key found for this signature in database
GPG key ID: BBD7A47A2003FF33

View file

@ -156,7 +156,7 @@ pub use menu::Menu;
/// An unique id that is associated with a menu item.
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Default, Hash)]
pub struct MenuId(String);
pub struct MenuId(pub String);
impl AsRef<str> for MenuId {
fn as_ref(&self) -> &str {