pub struct MenuId(pub String);Expand description
An unique id that is associated with a menu or a menu item.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
impl Eq for MenuId
Source§impl Ord for MenuId
impl Ord for MenuId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for MenuId
impl PartialOrd for MenuId
impl StructuralPartialEq for MenuId
Auto Trait Implementations§
impl Freeze for MenuId
impl RefUnwindSafe for MenuId
impl Send for MenuId
impl Sync for MenuId
impl Unpin for MenuId
impl UnsafeUnpin for MenuId
impl UnwindSafe for MenuId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more