mirror of
https://github.com/italicsjenga/muda.git
synced 2024-12-23 12:01:31 +11:00
chore: make MenuId
field public
This commit is contained in:
parent
874f345f3c
commit
8c2019eba0
|
@ -156,7 +156,7 @@ pub use menu::Menu;
|
||||||
|
|
||||||
/// An unique id that is associated with a menu item.
|
/// An unique id that is associated with a menu item.
|
||||||
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Default, Hash)]
|
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Default, Hash)]
|
||||||
pub struct MenuId(String);
|
pub struct MenuId(pub String);
|
||||||
|
|
||||||
impl AsRef<str> for MenuId {
|
impl AsRef<str> for MenuId {
|
||||||
fn as_ref(&self) -> &str {
|
fn as_ref(&self) -> &str {
|
||||||
|
|
Loading…
Reference in a new issue